Adds an attribute with the specified name and value to this
SOAPElement
object.
Adds an attribute with the specified name and value to this
SOAPElement
object.
Creates a SOAPBody
object and sets it as the
SOAPBody
object for this SOAPEnvelope
object.
Creates a new SOAPBodyElement
object with the specified
name and adds it to this SOAPBody
object.
Creates a new SOAPBodyElement
object with the specified
QName and adds it to this SOAPBody
object.
Creates a new SOAPElement
object initialized with the
given Name
object and adds the new element to this
SOAPElement
object.
Add a SOAPElement
as a child of this
SOAPElement
instance.
Creates a new SOAPElement
object initialized with the
specified local name and adds the new element to this
SOAPElement
object.
Creates a new SOAPElement
object initialized with the
specified local name and prefix and adds the new element to this
SOAPElement
object.
Creates a new SOAPElement
object initialized with the
specified local name, prefix, and URI and adds the new element to this
SOAPElement
object.
Creates a new SOAPElement
object initialized with the given
QName
object and adds the new element to this SOAPElement
object.
Creates an optional Detail
object and sets it as the
Detail
object for this SOAPFault
object.
Creates a new DetailEntry
object with the given
name and adds it to this Detail
object.
Creates a new DetailEntry
object with the given
QName and adds it to this Detail
object.
Adds the root node of the DOM
Document
to this
SOAPBody
object.
Creates a new SOAPFault
object and adds it to
this SOAPBody
object.
Creates a new SOAPFault
object and adds it to this
SOAPBody
object.
Creates a new SOAPFault
object and adds it to
this SOAPBody
object.
Creates a new SOAPFault
object and adds it to this SOAPBody
object.
Creates a new SOAPFault
object and adds it to this
SOAPBody
object.
void
Appends or replaces a Reason Text item containing the specified
text message and an xml:lang derived from
locale
.
Creates a SOAPHeader
object and sets it as the
SOAPHeader
object for this SOAPEnvelope
object.
Creates a new SOAPHeaderElement
object initialized with the
specified name and adds it to this SOAPHeader
object.
Creates a new SOAPHeaderElement
object initialized with the
specified qname and adds it to this SOAPHeader
object.
Adds a namespace declaration with the specified prefix and URI to this
SOAPElement
object.
Creates a new NotUnderstood SOAPHeaderElement
object initialized
with the specified name and adds it to this SOAPHeader
object.
Creates a new Text
object initialized with the given
String
and adds it to this SOAPElement
object.
Creates a new Upgrade SOAPHeaderElement
object initialized
with the specified supported SOAP URI and adds it to this
SOAPHeader
object.
Creates a new Upgrade SOAPHeaderElement
object initialized
with the specified array of supported SOAP URIs and adds it to this
SOAPHeader
object.
Creates a new Upgrade SOAPHeaderElement
object initialized
with the specified List of supported SOAP URIs and adds it to this
SOAPHeader
object.
void
Adds a Subcode to the end of the sequence of Subcodes contained by this
SOAPFault
.
Sends the given message to the specified endpoint and blocks until
it has returned the response.
abstract void
Closes this SOAPConnection
object.
Create a new SOAPConnection
.
Creates a new Detail
object which serves as a container
for DetailEntry
objects.
Creates a SOAPElement
object initialized with the
given Name
object.
Creates a SOAPElement
object initialized with the
given local name.
Creates a new SOAPElement
object with the given
local name, prefix and uri.
Creates a SOAPElement
object initialized with the
given QName
object.
Creates a SOAPElement
object from an existing DOM
Element
.
Creates a new default SOAPFault
object
Creates a new SOAPFault
object initialized with the given reasonText
and faultCode
Creates a new SOAPMessage
object with the default
SOAPPart
, SOAPEnvelope
, SOAPBody
,
and SOAPHeader
objects.
Internalizes the contents of the given InputStream
object into a
new SOAPMessage
object and returns the SOAPMessage
object.
Creates a new Name
object initialized with the
given local name.
Creates a new Name
object initialized with the
given local name and namespace prefix.
Creates a new Name
object initialized with the
given local name, namespace prefix, and namespace URI.
Creates a new Name
object initialized with the
given local name.
Creates a new Name
object initialized with the
given local name, namespace prefix, and namespace URI.
Creates a QName
whose namespace URI is the one associated
with the parameter, prefix
, in the context of this
SOAPElement
.
Creates a new DOM
Document
and sets
the first child of this
SOAPBody
as it's document
element.
Gets a message from a specific endpoint and blocks until it receives,
Returns an AttachmentPart
object that is associated with an
attachment that is referenced by this SOAPElement
or
null
if no such attachment exists.
Returns an InputStream
which can be used to obtain the
content of AttachmentPart
as Base64 encoded
character data, this method would base64 encode the raw bytes
of the attachment and return.
Returns the SOAPBody
object associated with this
SOAPEnvelope
object.
Gets the content of this AttachmentPart
object as a Java
object.
Returns the content of the SOAPEnvelope as a JAXP Source
object.
abstract jakarta.activation.DataHandler
Gets the DataHandler
object for this AttachmentPart
object.
Gets the SOAPEnvelope
object associated with this
SOAPPart
object.
Returns an Iterator
over a distinct sequence of
Locale
s for which there are associated Reason Text items.
Returns the Reason Text associated with the given Locale
.
Returns an Iterator
over a sequence of
String
objects containing all the Reason Text items for
this SOAPFault
.
Returns the SOAPHeader
object for
this SOAPEnvelope
object.
Retrieves value of the specified property.
Gets the content of this AttachmentPart
object as an
InputStream as if a call had been made to getContent
and no
DataContentHandler
had been registered for the
content-type
of this AttachmentPart
.
abstract byte[]
Gets the content of this AttachmentPart
object as a
byte[] array as if a call had been made to getContent
and no
DataContentHandler
had been registered for the
content-type
of this AttachmentPart
.
abstract int
Returns the number of bytes in this AttachmentPart
object.
Gets the SOAP Body contained in this SOAPMessage
object.
Gets the SOAP Header contained in this SOAPMessage
object.
Creates a new MessageFactory
object that is an instance
of the default implementation (SOAP 1.1).
Creates a new MessageFactory
object that is an instance
of the specified implementation.
Creates an instance of the default
SOAPConnectionFactory
object.
Creates a new SOAPFactory
object that is an instance of
the default implementation (SOAP 1.1).
Creates a new SOAPFactory
object that is an instance of
the specified implementation, this method uses the SAAJMetaFactory to
locate the implementation class and create the SOAPFactory instance.
Creates a MessageFactory
object for
the given String
protocol.
Creates a SOAPFactory
object for
the given String
protocol.
abstract void
Updates this SOAPMessage
object with all the changes that
have been made to it.
abstract void
Sets the content of this attachment part from the Base64 source
InputStream
and sets the value of the
Content-Type
header to the value contained in
contentType
, This method would first decode the base64
input and write the resulting raw bytes to the attachment.
abstract void
Sets the content of the SOAPEnvelope
object with the data
from the given Source
object.
Changes the name of this Element
to newName
if
possible.
void
Sets the encoding style for this SOAPElement
object
to one specified.
void
Sets this SOAPFault
object with the given fault actor.
void
Sets this SOAPFault
object with the given fault code.
void
Sets this SOAPFault
object with the give fault code.
void
Sets this SOAPFault
object with the given fault code.
void
Creates or replaces any existing Node element value for
this SOAPFault
object.
void
Creates or replaces any existing Role element value for
this SOAPFault
object.
void
Sets the fault string for this SOAPFault
object
to the given string.
void
Sets the fault string for this SOAPFault
object
to the given string and localized to the given locale.
void
Sets the parent of this Node
object to the given
SOAPElement
object.
void
Associates the specified value with the specified property.
abstract void
Sets the content of this attachment part to that contained by the
InputStream
content
and sets the value of the
Content-Type
header to the value contained in
contentType
.
abstract void
Sets the content of this attachment part to that contained by the
byte[]
array content
and sets the value of the
Content-Type
header to the value contained in
contentType
.
void
SOAPHeaderElement.setRelay(boolean relay)
Sets the relay attribute for this SOAPHeaderElement
to be
either true or false.
void
Sets the Role
associated with this SOAPHeaderElement
object to the specified Role
.
abstract void
Writes this SOAPMessage
object to the given output
stream.