JAXM and SOAP Messaging Styles

There are two types of packaging models for SOAP messages: with and without attachments. JAXM provides a standard way of creating and consuming both types of SOAP messages.

SOAP Message with Attachments

Figure 7.7 represents a JAXM message with attachments.

Figure 7.7. SOAP message with attachments.

Depending upon the application requirements, a JAXM application can choose to create or consume a SOAP message with attachments. For example, with the asynchronous update with acknowledgment message category, an acknowledgment message is sent to the requesting client. This acknowledgment need not have an attachment part. ...

Get Java™ APIs for XML Kick Start 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.