Java javax.xml.soap SOAPMessage fields, constructors, methods, implement or subclass

Example usage for Java javax.xml.soap SOAPMessage fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for javax.xml.soap SOAPMessage.

The text is from its open source code.

Subclass

javax.xml.soap.SOAPMessage has subclasses.
Click this link to see all its subclasses.

Field

StringCHARACTER_SET_ENCODING
Specifies the character type encoding for the SOAP Message.
StringWRITE_XML_DECLARATION
Specifies whether the SOAP Message will contain an XML declaration when it is sent.

Method

voidaddAttachmentPart(AttachmentPart attachmentPart)
Adds the given AttachmentPart object to this SOAPMessage object.
intcountAttachments()
Gets a count of the number of attachments in this message.
AttachmentPartcreateAttachmentPart()
Creates a new empty AttachmentPart object.
AttachmentPartcreateAttachmentPart(DataHandler dataHandler)
Creates an AttachmentPart object and populates it using the given DataHandler object.
AttachmentPartcreateAttachmentPart(Object content, String contentType)
Creates an AttachmentPart object and populates it with the specified data of the specified content type.
IteratorgetAttachments()
Retrieves all the AttachmentPart objects that are part of this SOAPMessage object.
IteratorgetAttachments(MimeHeaders headers)
Retrieves all the AttachmentPart objects that have header entries that match the specified headers.
StringgetContentDescription()
Retrieves a description of this SOAPMessage object's content.
MimeHeadersgetMimeHeaders()
Returns all the transport-specific MIME headers for this SOAPMessage object in a transport-independent fashion.
ObjectgetProperty(String property)
Retrieves value of the specified property.
SOAPBodygetSOAPBody()
Gets the SOAP Body contained in this SOAPMessage object.
SOAPHeadergetSOAPHeader()
Gets the SOAP Header contained in this SOAPMessage object.
SOAPPartgetSOAPPart()
Gets the SOAP part of this SOAPMessage object.
voidremoveAllAttachments()
Removes all AttachmentPart objects that have been added to this SOAPMessage object.
voidsaveChanges()
Updates this SOAPMessage object with all the changes that have been made to it.
booleansaveRequired()
Indicates whether this SOAPMessage object needs to have the method saveChanges called on it.
voidsetProperty(String property, Object value)
Associates the specified value with the specified property.
StringtoString()
Returns a string representation of the object.
voidwriteTo(OutputStream out)
Writes this SOAPMessage object to the given output stream.