NerdPlanet's e-learning Blog
Nerdplanet's Blog is an elearning community site which is created to help people who have a passion about computers and in a confused state in choosing the right direction to follow for obtaining the right knowledge. Here we focus mainly on providing Tutorials on Operating systems (Windows /Linux), Networking (Routers/Firewall Configuration) and programming, which would help people to understand the basics clearly and to help them further to learn advanced concepts. We also guide people who are in need of materials to learn but who could not afford to pay a price for it. We do this because we believe that Knowledge is power and the Knowledge should be free!. This would help to build a healthy community of IT Professionals.
'Java and SOAP' post
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. Preface 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 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 3. SOAP Data Encoding Schemas and Namespaces Serialization Rules Indicating Type Default Values The SOAP Root Attribute 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 5. Working with Complex Data Types Passing Arrays as Parameters Returning Arrays Passing Custom Types as Parameters Returning Custom Types 6. Custom Serialization Custom Type Encoding 7. Faults and Exceptions Throwing Server-Side Exceptions in Apache SOAP Creating a Fault Listener in Apache SOAP Throwing and Catching Exceptions in GLUE 8. Alternative Techniques SOAP Messaging Literal Encoding 9. SOAP Interoperability and WSDL Web Services Definition Language Calling a GLUE Service from an Apache SOAP Client A Proxy Service Using Apache SOAP Calling an Apache SOAP Service from a GLUE Client Accessing .NET Services Writing an Apache Axis Client 10. SOAP Headers Apache SOAP Providers and Routers Replacing the Provider and Router Classes An Apache SOAP Service That Handles SOAP Headers 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? Index http://rapidshare.com/files/17503951/OReilly.Java.And_Soap.pdf You must be logged in to post a comment. |