SAAJ
SAAJ, or the SOAP with Attachments API for Java, is a standard Java API that provides a programmatic model for creating, parsing, and manipulating SOAP messages, including attachments. It offers a transport-neutral way to work with SOAP envelopes, headers, bodies, and binary or textual attachments, enabling robust interaction with SOAP-based web services.
The API is defined by a set of interfaces and classes in the javax.xml.soap package (and, in
SAAJ relies on MIME multipart/related messaging to carry attachments alongside the SOAP envelope, supporting both SOAP
In practice, SAAJ provides low-level, programmatic access to SOAP messages and is often used in scenarios where