A SOAPBody object contains SOAPBodyElement
objects, which have the content for the SOAP body.
A SOAPFault object, which carries status and/or
error information, is an example of a SOAPBodyElement object.
SOAPFault
| Modifier and Type | Method and Description |
|---|---|
| public SOAPBodyElement | Returns: the newSOAPBodyElement objecta name)Name object with the name for the new SOAPBodyElement
objectCreates a new |
| public SOAPBodyElement | Returns: the newSOAPBodyElement objecta qname)QName object with the qname for the new
SOAPBodyElement objectCreates a new |
| public SOAPBodyElement | Returns: theSOAPBodyElement that represents the root node
that was added.the document)Document object whose root node will be
added to this SOAPBody.Adds the root node of the DOM |
| public SOAPFault | Returns: the newSOAPFault objectCreates a new |
| public SOAPFault | Returns: the newSOAPFault objecta faultCode, String Name object giving the fault
code to be set; must be one of the fault codes defined in the Version
of SOAP specification in usea faultString, Locale String giving an explanation of
the faulta locale)java.util.Locale object indicating
the native language of the faultStringCreates a new |
| public SOAPFault | Returns: the newSOAPFault objecta faultCode, String QName object giving the fault code to be
set; must be one of the fault codes defined in the version
of SOAP specification in use.a faultString, Locale String giving an explanation of the faulta locale)Locale object indicating the
native language of the faultStringCreates a new |
| public SOAPFault | Returns: the newSOAPFault objecta faultCode, String Name object giving the fault code to be set;
must be one of the fault codes defined in the version of SOAP
specification in usea faultString)String giving an explanation of the faultCreates a new |
| public SOAPFault | Returns: the newSOAPFault objecta faultCode, String QName object giving the fault code to be
set; must be one of the fault codes defined in the version
of SOAP specification in usea faultString)String giving an explanation of the faultCreates a new |
| public Document | extractContentAsDocument()
Creates a new DOM |
| public SOAPFault | Returns: theSOAPFault object in this SOAPBody
object if present, null otherwise.Returns the |
| public boolean | Returns: true if a SOAPFault object exists
in this SOAPBody object; false
otherwiseIndicates whether a |
| addBodyElement | back to summary |
|---|---|
| public SOAPBodyElement addBodyElement(Name name) throws SOAPException Creates a new
| |
| addBodyElement | back to summary |
|---|---|
| public SOAPBodyElement addBodyElement(QName qname) throws SOAPException Creates a new
| |
| addDocument | back to summary |
|---|---|
| public SOAPBodyElement addDocument(Document document) throws SOAPException Adds the root node of the DOM
Calling this method invalidates the
| |
| addFault | back to summary |
|---|---|
| public SOAPFault addFault() throws SOAPException Creates a new
A
| |
| addFault | back to summary |
|---|---|
| public SOAPFault addFault(Name faultCode, String faultString, Locale locale) throws SOAPException Creates a new
For SOAP 1.2 the
A
| |
| addFault | back to summary |
|---|---|
| public SOAPFault addFault(QName faultCode, String faultString, Locale locale) throws SOAPException Creates a new
For SOAP 1.2 the
A
| |
| addFault | back to summary |
|---|---|
| public SOAPFault addFault(Name faultCode, String faultString) throws SOAPException Creates a new
For SOAP 1.2 the
In case of a SOAP 1.2 fault, the default value for the mandatory
A
| |
| addFault | back to summary |
|---|---|
| public SOAPFault addFault(QName faultCode, String faultString) throws SOAPException Creates a new
For SOAP 1.2 the
In case of a SOAP 1.2 fault, the default value for the mandatory
A
| |
| extractContentAsDocument | back to summary |
|---|---|
| public Document extractContentAsDocument() throws SOAPException Creates a new DOM
| |
| getFault | back to summary |
|---|---|
| public SOAPFault getFault() Returns the
| |
| hasFault | back to summary |
|---|---|
| public boolean hasFault() Indicates whether a
| |