Name
SOAPMessage
Synopsis
public abstract class SOAPMessage { // Public Constructors public SOAPMessage( ); // Property Accessor Methods (by property name) public abstract Iterator getAttachments( ); public abstract Iterator getAttachments MimeHeadersheaders
); public abstract String getContentDescription( ); public abstract void setContentDescription(Stringdescription
); public abstract MimeHeaders getMimeHeaders( ); public abstract SOAPPart getSOAPPart( ); // Public Instance Methods public abstract void addAttachmentPart(AttachmentPartAttachmentPart
); public abstract int countAttachments( ); public abstract AttachmentPart createAttachmentPart( ); public AttachmentPart createAttachmentPart(javax.activation.DataHandlerdataHandler
); public AttachmentPart createAttachmentPart(Objectcontent
, StringcontentType
); public abstract void removeAllAttachments( ); public abstract void saveChanges( ) throws SOAPException; public abstract boolean saveRequired( ); public abstract void writeTo( java.io.OutputStream out) throws SOAPExceptionjava.io.IOException; }
SOAPMessage
is an abstract class that represents a
complete SOAP message. A SOAPMessage
object can be
obtained from the createMessage( )
method of the
MessageFactory
class, and consists of several
parts:
- MIME headers
When a SOAP message is transmitted using a protocol such as HTTP or SMTP, it requires a set of MIME headers that specify, at a minimum, the type of the protocol payload and its length. In the case of a SOAP message with no ...
Get Java Web Services in a Nutshell 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.