Publisher: O'Reilly Media Released: May 2002 Pages: 278
Java and SOAP provides Java developers with an in-depth look at SOAP (the Simple Object Access Protocol). Of course, it covers the basics: what SOAP is, why it's soared to a spot on the Buzzwords' Top Ten list, and what its features and capabilities are. And it shows you how to work with some of the more common Java APIs in the SOAP world: Apache SOAP and GLUE. In addition to covering the basics such as the structure of a SOAP message, SOAP encoding, and building simple services using RPC and messaging, Java and SOAP covers many topics that are essential to real-world development. Although SOAP has native support for an impressive number of object types, the nature of modern programming means that whatever SOAP gives you is not enough. When do you need to add support for your own object types, and how do you do it? How do you handle errors, and how do you add your own information to Fault messages? How do you handle attachments? In an ideal world, you could live entirely within Java, and ignore the SOAP messages being send back and forth: you'd be able to write Java code and let the SOAP APIs work behind the scenes. However, we're not yet in that ideal world, and won't be for some time. Therefore, Java and SOAP pays particular attention to how SOAP messages are encoded. It doesn't just explain the document types, but shows how the documents are used in practice as they are generated by the different APIs. If you ever have to debug interoperability problems, you'll find that this information is indispensable. We've always found that the best software is written by people who understand what's happening under the hood. SOAP is no different. Let's say you need to write a custom serializer to create a SOAP representation of a structure. How do you know that your encoding is efficient? There's one definitive answer: look at the SOAP documents it produces! Java and SOAP also discusses interoperability between the major SOAP platforms, including Microsoft's .NET, SOAP messaging, SOAP attachments, message routing, and a preview of the forthcoming AXIS APIs and server. If you're a Java developer who would like to start working with SOAP, this is the book you need to get going. |
-
Chapter 1 Introduction -
RPC and Message-Oriented Distributed Systems -
Self-Describing Data -
XML -
API Specs Versus Wire-Level Specs -
Overview of SOAP -
SOAP Implementations -
The Approach -
Getting Started -
Chapter 2 The SOAP Message -
The HTTP Binding -
HTTP Request -
HTTP Response -
The SOAP Envelope -
The Envelope Element -
The Header Element -
The actor Attribute -
The mustUnderstand Attribute -
The encodingStyle Attribute -
Envelope Versioning -
The Body Element -
SOAP Faults -
Chapter 3 SOAP Data Encoding -
Schemas and Namespaces -
Serialization Rules -
Indicating Type -
Default Values -
The SOAP Root Attribute -
Chapter 4 RPC-Style Services -
SOAP RPC Elements -
A Simple Service -
Deploying the Service -
Writing Service Clients -
Deploying with Request-Level Scope -
Deploying with Session-Level Scope -
Passing Parameters -
Chapter 5 Working with Complex Data Types -
Passing Arrays as Parameters -
Returning Arrays -
Passing Custom Types as Parameters -
Returning Custom Types -
Chapter 6 Custom Serialization -
Custom Type Encoding -
Chapter 7 Faults and Exceptions -
Throwing Server-Side Exceptions in Apache SOAP -
Creating a Fault Listener in Apache SOAP -
Throwing and Catching Exceptions in GLUE -
Chapter 8 Alternative Techniques -
SOAP Messaging -
Literal Encoding -
Chapter 9 SOAP Interoperability and WSDL -
Web Services Definition Language -
Calling a GLUE Service from an ApacheSOAP Client -
A Proxy Service Using Apache SOAP -
Calling an Apache SOAP Service from a GLUE Client -
Accessing .NET Services -
Writing an Apache Axis Client -
Chapter 10 SOAP Headers -
Apache SOAP Providers and Routers -
Replacing the Provider and Router Classes -
An Apache SOAP Service That Handles SOAP Headers -
Chapter 11 JAX-RPC and JAXM -
JAX-RPC -
Working Without Ant -
Creating a JAX-RPC Service -
Creating a JAX-RPC Client -
Generating Stubs from WSDL -
Dynamic Invocation Interface -
JAXM, in Less Than a Nutshell -
What Next? -
Colophon |
- Title:
- Java and SOAP
- By:
- Robert Englander
- Publisher:
- O'Reilly Media
- Formats:
-
- Print
- Ebook
- Safari Books Online
- Print:
- May 2002
- Ebook:
- June 2009
- Pages:
- 278
- Print ISBN:
- 978-0-596-00175-9
- | ISBN 10:
- 0-596-00175-4
- Ebook ISBN:
- 978-0-596-10332-3
- | ISBN 10:
- 0-596-10332-8
|
-
Robert Englander Robert Englander is Principal Engineer and President of MindStream Software, Inc. (www.mindstrm.com). He provides consulting services in software architecture, design, and development, as well as developing frameworks for use on client projects. His focus is in the areas of component architectures and distributed systems. Rob has built software in Java and C++ for clients ranging from small shops to large organizations. He has spoken at industry conferences, written articles for magazines and journals, and is the author of the OReilly book Developing Java Beans. View Robert Englander's full profile page. |
Colophon Our look is the result of reader comments, our own experimentation, and feedback from distribution channels. Distinctive covers complement our distinctive approach to technical topics, breathing personality and life into potentially dry subjects. The animal on the cover of Java and SOAP is a red firefish, Pterois volitans. These fish are found throughout the warm, tropical waters of the Indian and Pacific Oceans at depths up to 100 feet. They tend to sit nearly motionless on the ocean floor, often under ledges, waiting for potential prey-mainly small fish and crustaceans-to wander into range. Red firefish are members of the family Scorpaenidae-scorpionfishes-named for the poisonous spines on their dorsal fins. Confident in their ability to defend themselves, firefish often do not back off even when a human approaches; instead, they point their venomous spines towards aggressors. Their confidence is well-placed: the sting of their spines, though not usually fatal to humans, is extremely painful. In addition to their native ocean habitat, red firefish can also be found living in many home tropical aquariums. They can grow up to 16 inches in length and so require a fairly large tank. But despite their fearsome spines and predatory nature, they're actually very peaceful and sociable, and they get along well with other fish-except the ones small enough to be eaten. Emily Quill was the production editor and copyeditor for Java and SOAP. Sarah Sherman and Matt Hutchinson provided quality control. Philip Dangler, David Chu, and Julie Flanagan provided production assistance. Ellen Troutman-Zaig wrote the index. Emma Colby designed the cover of this book, based on a series design by Edie Freedman. The cover image is a 19th-century engraving from the Dover Pictorial Archive. Emma Colby produced the cover layout with QuarkXPress 4.1 using Adobe's ITC Garamond font. Melanie Wang designed the interior layout, based on a series design by David Futato. Neil Walls converted the files from Microsoft Word to FrameMaker 5.5.6 using tools created by Mike Sierra. The text font is Linotype Birka; the heading font is Adobe Myriad Condensed; and the code font is LucasFont's TheSans Mono Condensed. The illustrations that appear in the book were produced by Robert Romano and Jessamyn Read using Macromedia FreeHand 9 and Adobe Photoshop 6. The tip and warning icons were drawn by Christopher Bing. This colophon was written by Leanne Soylemez. |
|
Description
|
Table of Contents
|
Product Details
|
About the Author
|
Colophon
|
 |
|
 |
|
|
|
Recommended for You
|
Recently Viewed
|
 |
|
By Damian Conway
July 2005
Ebook: $31.99
Print & Ebook: $43.99
Print: $39.99
By Patrick Killelea
March 2002
By Jesse Liberty, Dan Hurwitz
February 2002
|
Customer Reviews
By Ajith Kallambella from Undisclosed By Gabriel Reid from Undisclosed 6/16/2002 (1 of 1 customers found this review helpful) By Varun Kumar from Undisclosed
|
|
|