June 2003
Intermediate to advanced
672 pages
23h 48m
English
SOAPMessage
public abstract class SOAPMessage {
// Public Constructors
public SOAPMessage( );
// Property Accessor Methods (by property name)
public abstract Iterator getAttachments( );
public abstract Iterator getAttachments MimeHeaders headers);
public abstract String getContentDescription( );
public abstract void setContentDescription(String description);
public abstract MimeHeaders getMimeHeaders( );
public abstract SOAPPart getSOAPPart( );
// Public Instance Methods
public abstract void addAttachmentPart(AttachmentPart AttachmentPart);
public abstract int countAttachments( );
public abstract AttachmentPart createAttachmentPart( );
public AttachmentPart createAttachmentPart(javax.activation.DataHandler dataHandler);
public AttachmentPart createAttachmentPart(Object content, String contentType);
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:
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 ...
Read now
Unlock full access