SOAP with Attachments API for Java
by Dinesh[ Edit ] 2012-07-23 14:16:31
SOAP with Attachments API for Java(SAAJ):
SAAJ provides support for producing, sending, and receiving SOAP messages with attachments. Sun’s SAAJ library provides an interface to the features and capabilities described in the W3C SOAP 1.1 attachment note, which have not changed much in their current form. The current W3C specification is the W3C SOAP 1.2 Attachment Feature, currently in the Working Draft stage of the W3C Recommendation process. The W3C SOAP 1.2 Attachment Feature Working Draft states that a SOAP message may include attachments directly in the W3C SOAP body structure. The SOAP body and header may contain only XML content. Non-XML data must be contained in an attachment under the SOAP body. This provides facilities for providing binary information and non-XML data in a SOAP envelope.