Example usage for Java javax.xml.soap SOAPMessage fields, constructors, methods, implement or subclass
The text is from its open source code.
String | CHARACTER_SET_ENCODING Specifies the character type encoding for the SOAP Message. |
String | WRITE_XML_DECLARATION Specifies whether the SOAP Message will contain an XML declaration when it is sent. |
void | addAttachmentPart(AttachmentPart attachmentPart) Adds the given AttachmentPart object to this SOAPMessage object. |
int | countAttachments() Gets a count of the number of attachments in this message. |
AttachmentPart | createAttachmentPart() Creates a new empty AttachmentPart object. |
AttachmentPart | createAttachmentPart(DataHandler dataHandler) Creates an AttachmentPart object and populates it using the given DataHandler object. |
AttachmentPart | createAttachmentPart(Object content, String contentType) Creates an AttachmentPart object and populates it with the specified data of the specified content type. |
Iterator | getAttachments() Retrieves all the AttachmentPart objects that are part of this SOAPMessage object. |
Iterator | getAttachments(MimeHeaders headers) Retrieves all the AttachmentPart objects that have header entries that match the specified headers. |
String | getContentDescription() Retrieves a description of this SOAPMessage object's content. |
MimeHeaders | getMimeHeaders() Returns all the transport-specific MIME headers for this SOAPMessage object in a transport-independent fashion. |
Object | getProperty(String property) Retrieves value of the specified property. |
SOAPBody | getSOAPBody() Gets the SOAP Body contained in this SOAPMessage object. |
SOAPHeader | getSOAPHeader() Gets the SOAP Header contained in this SOAPMessage object. |
SOAPPart | getSOAPPart() Gets the SOAP part of this SOAPMessage object. |
void | removeAllAttachments() Removes all AttachmentPart objects that have been added to this SOAPMessage object. |
void | saveChanges() Updates this SOAPMessage object with all the changes that have been made to it. |
boolean | saveRequired() Indicates whether this SOAPMessage object needs to have the method saveChanges called on it. |
void | setProperty(String property, Object value) Associates the specified value with the specified property. |
String | toString() Returns a string representation of the object. |
void | writeTo(OutputStream out) Writes this SOAPMessage object to the given output stream. |