O'Reilly logo

J2EE™ and Beyond: Design, Develop, and Deploy World-Class Java™ Software by Art Taylor

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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
PackageDescription
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
ClassDescription
AttachmentPartRepresents an attachment for a SOAP message.
MessageFactory ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required