List of Listings

SOAP

SOAP request corresponding to RPC style getLastPayment method invocation over http
SOAP response corresponding to RPC style getLastPayment method invocation over http
A transaction coordinator passes the context of the transaction from one service to another by adding header entries
An RPC-style Body element
A Body element that consists of an XML document
A SOAP fault message sent by a receiver to the client
An email containing a SOAP message, with an XML document as an attachment
The SOAP request message
A SAAJ client for constructing and sending a SOAP message
The SOAP response from the service

WSDL

Flute Bank's bill payment service illustrated as Java Interface
Flute Bank's bill payment service WSDL document
WSDL for RPC/encoded style
WSDL for RPC/literal style
WSDL for document/encoded style
WSDL for document/literal style

UDDI

Flute Bank News WSDL
UDDI tModel for Flute Bank News service
Custom taxonomy
Category grouping
businessEntity that uses categorization
uploader assertions
First WSDL document: allows a single symbol to be passed
Second WSDL document: allows multiple symbols to be passed
UDDI tModel that corresponds to a single-symbol WSDL document
UDDI tModel that corresponds to a multiple-symbol WSDL document
WSDL service implementation
Service interface that references another service interface
WSDL service bindings
Extending the uploaderAssertion structure
Creating a new business assertion
Creating a new uploader assertion

ebXML

The BPSS document
The CPP document
The CPA document
The ebXML SOAP message

JAXP

Sample XML file to be parsed with SAX
SAX parsing code
SAX parsing handler
IDL description of the DOM Document objectListing
XML document with schema and namespaces
The schema for the XML document
The example from Listing 9.2a modified for schema validation
The XSL style sheet used to transform the XML from Listing 9.1

JAX-RPC

A multidimensional array of app-defined PaymentDetail objects mapped on the wire using SOAP encoding
Implementation for Flute Bank's BillPay service
xrpcc configuration in the reference implementation
Source file for BillPay.java
WSDL billservice.java corresponding to Listing 10.4
Client using stubs
Client using DII directly, where all parameters are known (WSDL is not passed)
Client using DII indirectly, where all parameters are not known (WSDL is dynamically inspected)
Client using dynamic proxies
SOAP request
SOAP response
A compound message with a MIME attachment
Service implementation for processing attachments
xrpcc configuration for stub and tie generation
Client-side handler
Server-side handler
Service implementation
xrpcc configuration for handlers
C# client for JAX-RPC
EJB client and deployment descriptor code extract

JAXM

app A: Sending the message
app B: Receiving the message
The SoapMailSender app
The SoapMailReceiver app
The SOAP request sent synchronously.
Client-side output
The synchronous PurchaseOrderService
The response returned by the synchronous PurchaseOrderService
An asynchronous message sender
The PurchaseOrderService handles asynchronous messages and also acts as a client.
The CallbackProcessor service on flutebank.com
The ebXML message sent from Flute Bank to OfficeMin
The ebXML message sent from OfficeMin to Flute Bank

JAXR

Publishing organization information
Service interface separated into billpayinterface.wsdl
The schema definition referenced by billpayservice.wsdl
The billpayservice.wsdl implemented by Flute Bank
JAXR app to publish the WSDL
Querying organization information from UDDI
Output of UDDIQuery
Querying the registry for service information
Client side output of a service query
Service discovery based on namespace
The client side output
SOAP request to the registry with the X.509 certificate
Using the open source JAXR provider to include the X.509 certificate
Publishing with the JAXR provider

JAXB

The purchaseorder.xsd schema from Chapter 9
Simple JAXB code to read an XML document
The XML marshalled out by app code in Listing 13.2
A schema with enumerations
The generated interface for an enumeration in Listing 13.4a
A complex element
Generated binding interface for a complex element
Bindings affected by class and javadoc declarations
A typesafe-enumeration-generated binding

Security

Signed check order
Apache Axis signer
Apache Axis verifier
Unencrypted XML document
Encrypted XML document
Completely encrypted XML document
Authentication assertion
Authentication assertion response
Attribute assertion request
Authorization assertion
Authorization assertion response
WS-Security example
Coordination context

Practical Considerations

WSDL for timer service
Timer service proxy

Future Standards

WSDL fragment showing the functional interface for Flute Bank's loan service
WSDL elements that combine WSDL operations properly

XML Schema

employeeList XML

JSTL

An example JSP using JSTL XML tags