Messages

Messages are the vehicles that contain data exchanged between systems. JAXM bases its message format on the SOAP 1.1 and SOAP with Attachments standards. It accommodates extensions to these specifications—such as the ebXML and WS Routing message formats—through pluggable profiles.

JAXM quite explicitly keeps messages and transport independent from a class perspective, but there is some logical interdependence. The instantiation chain from providers to messages illustrates this. For example, from a ProviderConnection, you can obtain a MessageFactory; this object is in turn responsible for instantiating empty SOAPMessage instances appropriate for the profile in use. SOAPMessage contains any additional attributes or functionality that makes ...

Get Java™ Web Services Unleashed now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.