Methods Summary |
---|
public abstract javax.xml.soap.SOAPBodyElement | addBodyElement(javax.xml.soap.Name name)Creates a new SOAPBodyElement object with the
specified name and adds it to this SOAPBody object.
|
public abstract javax.xml.soap.SOAPBodyElement | addDocument(org.w3c.dom.Document document)Adds the root node of the DOM Document to this
SOAPBody object.
Calling this method invalidates the document parameter. The
client application should discard all references to this
Document and its contents upon calling
addDocument . The behavior of an application that continues
to use such references is undefined.
|
public abstract javax.xml.soap.SOAPFault | addFault()Creates a new SOAPFault object and adds it to
this SOAPBody object.
|
public abstract javax.xml.soap.SOAPFault | addFault(javax.xml.soap.Name faultCode, java.lang.String faultString, java.util.Locale locale)Creates a new SOAPFault object and adds it to this
SOAPBody object. The new SOAPFault will have a
faultcode element that is set to the faultCode
parameter and a faultstring set to faultstring
and localized to locale .
|
public abstract javax.xml.soap.SOAPFault | addFault(javax.xml.soap.Name faultCode, java.lang.String faultString)Creates a new SOAPFault object and adds it to this
SOAPBody object. The new SOAPFault will have a
faultcode element that is set to the faultCode
parameter and a faultstring set to faultstring .
|
public abstract javax.xml.soap.SOAPFault | getFault()Returns the SOAPFault object in this SOAPBody
object.
|
public abstract boolean | hasFault()Indicates whether a SOAPFault object exists in
this SOAPBody object.
|