JAXM Packages

Java provides two packages that allow SOAP messages to be manipulated. The most commonly used package is the javax.xml.soap package, which contains the core classes for creating and manipulating messages. The packages and their classes are described in Table 22-2 and Table 22-3.

Table 22-2. JAXM Packages
javax.xml.messagingUsed to manage one-way (message server) messaging with SOAP messages.
javax.xml.soapUsed for the creation and transmission of SOAP messages

The javax.xml.soap package contains some of the core classes to create and manipulate SOAP messages. These classes are shown in Table 22-3 below.

Table 22-3. JAXM Packages
AttachmentPartRepresents an attachment for a SOAP message.
MessageFactory ...

Get J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software 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.