public interface SOAPEnvelope extends OMElement
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE| Modifier and Type | Method and Description |
|---|---|
SOAPBody |
getBody()
Returns the
SOAPBody object associated with this SOAPEnvelope
object. |
SOAPHeader |
getHeader()
Returns the
SOAPHeader object for this SOAPEnvelope object. |
String |
getSOAPBodyFirstElementLocalName()
Retrieves the local name of the first element in the body.
|
OMNamespace |
getSOAPBodyFirstElementNS()
Retrieves the OMNamespace of the first element in the body.
|
SOAPVersion |
getVersion() |
boolean |
hasFault()
Returns true if there is a SOAPFault in the body.
|
addAttribute, addAttribute, cloneOMElement, declareDefaultNamespace, declareNamespace, declareNamespace, findNamespace, findNamespaceURI, getAllAttributes, getAllDeclaredNamespaces, getAttribute, getAttributeValue, getChildElements, getDefaultNamespace, getFirstElement, getLineNumber, getLocalName, getNamespace, getNamespaceURI, getQName, getText, getTextAsQName, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setFirstChild, setLineNumber, setLocalName, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsumebuildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBeforeaddChild, buildNext, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getFirstChildWithName, getFirstOMChild, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCachingbuild, close, getOMFactory, isComplete, serialize, serialize, serializeAndConsumeSOAPHeader getHeader() throws OMException
SOAPHeader object for this SOAPEnvelope object.
This SOAPHeader will just be a container for all the headers in the OMMessage
SOAPHeader object or null if there is noneOMException - if there is a problem obtaining the SOAPHeader objectSOAPBody getBody() throws OMException
SOAPBody object associated with this SOAPEnvelope
object. This SOAPBody will just be a container for all the BodyElements in the
OMMessage
SOAPBody object for this SOAPEnvelope object or
null if there is noneOMException - if there is a problem obtaining the SOAPBody objectSOAPVersion getVersion()
boolean hasFault()
OMNamespace getSOAPBodyFirstElementNS()
String getSOAPBodyFirstElementLocalName()
Copyright © 2004–2016 The Apache Software Foundation. All rights reserved.