|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface SOAPBody
An object that represents the contents of the SOAP body element in a SOAP message. B SOAP body element consists of XML data that affects the way the application-specific content is processed.
BSOAPBody object contains OMBodyBlock objects, which have the content
for the SOAP body. B SOAPFault object, which carries status and/or error
information, is an example of a OMBodyBlock object.
| Field Summary |
|---|
| Fields inherited from interface org.apache.axiom.om.OMNode |
|---|
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
| Method Summary | |
|---|---|
SOAPFault |
addFault(Exception e)
Creates a new SOAPFault object and adds it to this SOAPBody
object. |
void |
addFault(SOAPFault soapFault)
|
SOAPFault |
getFault()
Returns the SOAPFault object in this SOAPBody object. |
String |
getFirstElementLocalName()
Retrieves the local name of the first element in the body. |
OMNamespace |
getFirstElementNS()
Retrieves the OMNamespace of the first element in the body. |
boolean |
hasFault()
Indicates whether a SOAPFault object exists in this SOAPBody
object. |
| Methods inherited from interface org.apache.axiom.om.OMNode |
|---|
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore |
| Methods inherited from interface org.apache.axiom.om.OMContainer |
|---|
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren |
| Methods inherited from interface org.apache.axiom.om.OMSerializable |
|---|
build, close, isComplete, serialize, serialize, serializeAndConsume |
| Methods inherited from interface org.apache.axiom.om.OMInformationItem |
|---|
clone, getOMFactory |
| Methods inherited from interface org.apache.axiom.om.OMNamedInformationItem |
|---|
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName |
| Method Detail |
|---|
SOAPFault addFault(Exception e)
throws OMException
SOAPFault object and adds it to this SOAPBody
object.
e -
SOAPFault object
OMException - if there is a SOAP error
OMExceptionboolean hasFault()
SOAPFault object exists in this SOAPBody
object.
true if a SOAPFault object exists in this
SOAPBody object; false otherwiseSOAPFault getFault()
SOAPFault object in this SOAPBody object.
SOAPFault object in this SOAPBody object
void addFault(SOAPFault soapFault)
throws OMException
soapFault -
OMExceptionOMNamespace getFirstElementNS()
null if the element
has no namespace or the body is emptyString getFirstElementLocalName()
null if the body is empty
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||