Java Web Services gives the experienced Java developer a way into the Web Services world. It helps you to understand what's going on, what the technologies mean and how they relate, and shows Java developers how to put them to use to solve real problems. You'll learn what's real and what isn't; what the technologies are really supposed to do, and how they do it. Java Web Services shows you how to use SOAP to perform remote method calls and message passing; how to use WSDL to describe the interface to a web service or understand the interface of someone else's service; and how to use UDDI to advertise (publish) and look up services in each local or global registry. Java Web Services also discusses security issues, interoperability issues, integration with other Java enterprise technologies like EJB; the work being done on the JAXM and JAX-RPC packages, and integration with Microsoft's .NET services. The web services picture is still taking shape; there are many platforms and APIs to consider, and many conflicting claims from different marketing groups. And although web services are inherently language-independent, the fit between the fundamental principles on which Java and web services are based means that Java will almost certainly be the predominant language for web services development. If you're a Java developer and want to climb on the web services bandwagon, or if you only want to "kick the tires" and find out what web services has to offer, you will find this book indispensable.
Author(s): David A. Chappell, Tyler Jewell
Edition: 1st ed
Publisher: O'Reilly
Year: 2002
Language: English
Pages: 249
City: Sebastopol, CA
Cover......Page 1
Table of Contents......Page 3
Who Should Read This Book?......Page 5
Organization......Page 6
Software and Versions......Page 7
Comments and Questions......Page 8
Acknowledgments......Page 9
1.1 What Are Web Services?......Page 10
1.2 Web Services Adoption Factors......Page 15
1.3 Web Services in a J2EE Environment......Page 18
1.4 What This Book Discusses......Page 19
2.1 Service-Oriented Architecture......Page 21
2.2 The P2P Model......Page 30
3.1 Simple......Page 32
3.3 Access......Page 33
3.5 Anatomy of a SOAP Message......Page 34
3.6 Sending and Receiving SOAP Messages......Page 38
3.7 The Apache SOAP Routing Service......Page 50
3.8 SOAP with Attachments......Page 54
4.1 SOAP-RPC......Page 59
4.2 Error Handling with SOAP Faults......Page 67
4.3 SOAP Intermediaries and Actors......Page 73
5.1 Introduction to WSDL......Page 76
5.2 Anatomy of a WSDL Document......Page 77
5.3 Best Practices, Makes Perfect......Page 98
5.4 Where Is All the Java?......Page 99
6.1 UDDI Overview......Page 100
6.2 UDDI Specifications and Java-Based APIs......Page 103
6.3 Programming UDDI......Page 105
6.4 Using WSDL Definitions with UDDI......Page 139
7.1 Java API for XML Messaging (JAXM)......Page 142
7.2 JAX-RPC......Page 161
7.3 SOAPElement API......Page 165
7.4 JAX-RPC Client Invocation Models......Page 166
8.1 The SOAP-J2EE Way......Page 173
8.2 The Java Web Service (JWS) Standard......Page 187
9.2 The Good, Bad, and Ugly of Interoperability......Page 190
9.3 Potential Interoperability Issues......Page 202
9.4 SOAPBuilders Interoperability......Page 204
9.5 Other Interoperability Resources......Page 227
9.6 Resources......Page 229
10.1 Incorporating Security Within XML......Page 231
10.2 XML Digital Signatures......Page 232
10.3 XML Encryption......Page 237
10.4 SOAP Security Extensions......Page 243
10.5 Further Reading......Page 245
A. Credits......Page 247
Colophon......Page 249