Websphere and .Net Interoperability Using Web Services
Total Page:16
File Type:pdf, Size:1020Kb
Front cover WebSphere and .Net Interoperability Using Web Services Examples and guidance for building interoperable Web services Roadmap to Web services specifications Using Service-Oriented patterns Peter Swithinbank Francesca Gigante Hedley Proctor Mahendra Rathore William Widjaja ibm.com/redbooks International Technical Support Organization WebSphere and .Net Interoperability Using Web Services June 2005 SG24-6395-00 Note: Before using this information and the product it supports, read the information in “Notices” on page ix. First Edition (June 2005) This edition applies to WebSphere Studio Application Developer V5.1.2 running on Microsoft Windows XP Pro, WebSphere Application Server V5.1.1 with DB/2 8.1 running on Microsoft Server 2003, Microsoft.Net Framework 1.1, and Microsoft IIS V6.0 running on Microsoft Server 2003. © Copyright International Business Machines Corporation 2005. All rights reserved. Note to U.S. Government Users Restricted Rights -- Use, duplication or disclosure restricted by GSA ADP Schedule Contract with IBM Corp. Contents Notices . ix Trademarks . x Preface . xi The team that wrote this redbook. xiii Become a published author . xv Comments welcome. xv Chapter 1. Introduction. 1 1.1 Background of this book . 2 1.1.1 The scenario . 2 1.1.2 Use of Web services . 3 1.1.3 Other approaches to interoperability . 3 1.1.4 WS-I . 4 1.1.5 Audience . 5 1.1.6 Terminology . 6 Part 1. Introduction to Web services. 9 Chapter 2. SOAP primer . 11 2.1 What is SOAP? . 12 2.2 SOAP components . 12 2.3 What is in a SOAP message? . 14 2.3.1 Headers. 14 2.3.2 Body . 16 2.3.3 Fault . 16 2.4 Message styles . 18 2.4.1 RPC-Style . 18 2.4.2 Document-Style. 19 2.4.3 Document/Wrapped . 20 2.5 SOAP interaction styles. 21 2.5.1 Request-response. 21 2.5.2 One-way . 22 2.6 SOAP implementations over Http:. 22 2.6.1 Microsoft .Net SOAP request over Http . 22 2.6.2 IBM WebSphere Application Server SOAP request over Http: . 23 2.7 Summary: Salient interoperability features of SOAP. 24 Chapter 3. WSDL primer . 27 © Copyright IBM Corp. 2005. All rights reserved. iii 3.1 Structure of WSDL definitions . 28 3.2 Examples of WSDL definitions . 30 3.2.1 Document/Literal Style . 30 3.2.2 RPC/Literal Style. 33 3.3 Future considerations . 35 3.4 Summary: salient interoperability features of WSDL. 36 Chapter 4. Web services primer. 39 4.1 Web services concepts . 40 4.1.1 What is a Web service? . 41 4.1.2 Web services technologies . 43 4.1.3 Web service properties . 43 4.2 Web services and component architectures . 45 4.2.1 Choosing between Web services and software components . 46 4.3 Service-Oriented Architecture . 50 4.3.1 Components of a Service-Oriented Architecture. 51 4.3.2 Services and Web services. 54 4.4 Web services and the Enterprise Service Bus . 58 4.4.1 Transparency . 60 4.4.2 Interoperability. 61 4.4.3 Unified service discovery and addressing. 61 4.4.4 Coexistence . 62 4.4.5 Single point of control . 62 4.4.6 Security . 63 4.4.7 Robustness . 63 4.4.8 Scalability . 64 4.4.9 Problem determination . 65 4.4.10 Conclusions: Web services, the ESB and service buses . 65 4.5 Summary . 66 Part 2. Web services interoperability . 67 Chapter 5. Business scenarios . 69 5.1 Business scenarios overview . 70 5.2 Mergers and Acquisitions . 71 5.2.1 Business goals . 71 5.2.2 Solution context. 72 5.2.3 Current IT infrastructure . 74 5.2.4 Technical constraints . 76 5.2.5 Solution level design . 77 5.2.6 Technical approach. 78 5.2.7 Target IT infrastructure . 81 5.3 External claims assessor management. 83 5.3.1 Business goals . 83 iv WebSphere and .Net Interoperability Using Web Services 5.3.2 Solution context. 84 5.3.3 Current IT infrastructure . 84 5.3.4 Technical constraints . 85 5.3.5 Solution level design . 85 5.3.6 Technical approach. 88 5.3.7 Target IT infrastructure . 90 5.4 Summary . 92 Chapter 6. Interoperability patterns. ..