Home

 

Multiple payload structures

JAX-WS exposes the following binding technologies to the user: XML Source, SOAP Attachments API for Java (SAAJ) 1.3, and Java Architecture for XML Binding (JAXB) 2.0.

XML Source enables a user to pass a javax.xml.transform.Source into the runtime, which represents the data in a source object to be passed to the runtime. SAAJ 1.3 now has the ability to pass an entire SOAP document across the interface, rather than just the payload itself. This is done by the client passing the SAAJ SOAPMessage object across the interface. JAX-WS leverages the JAXB 2.0 support as the data binding technology of choice between Java and XML.

ibm.com/redbooks