Java and SOAP

Java and SOAP

By: Robert Englander (author)Paperback

1 - 2 weeks availability

Description

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.

Create a review

About Author

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 O'Reilly book Developing Java Beans.

Contents

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; the SOAP message - the HTTP binding, HTTP request, HTTP response, the SOAP envelope, the envelope element, the header element, the actor attribute, the must understand attribute, the encodingstyle attribute envelope, versioning, the body element, SOAP faults; SOAP data encoding - schemas and namespaces, serialization rules, indicating type default values, the SOAP root attribute; 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; working with complex data types - passing arrays as parameters, returning arrays, passing custom types as parameters, returning custom types; custom serialization - custom type encoding; faults and exceptions - throwing server-side exceptions in Apache SOAP, creating a fault listener in Apache SOAP, throwing and catching exceptions in GLUE; alternative techniques - SOAP messaging, literal encoding; 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; SOAP headers - Apache SOAP providers and routers, replacing the provider and router classes, an Apache SOAP service that handles SOAP headers; JAX-RPC and JAXM - JAX-R PC, 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?.

Product Details

  • publication date: 10/06/2002
  • ISBN13: 9780596001759
  • Format: Paperback
  • Number Of Pages: 278
  • ID: 9780596001759
  • weight: 448
  • ISBN10: 0596001754

Delivery Information

  • Saver Delivery: Yes
  • 1st Class Delivery: Yes
  • Courier Delivery: Yes
  • Store Delivery: Yes

Prices are for internet purchases only. Prices and availability in WHSmith Stores may vary significantly

Close