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, getNamespaceContext, getNamespacesInScope, getText, getTextAsQName, getTextAsStream, removeAttribute, resolveQName, serialize, serialize, serialize, serialize, serializeAndConsume, serializeAndConsume, serializeAndConsume, serializeAndConsume, setBuilder, setLineNumber, setNamespace, setNamespaceWithNoFindInCurrentScope, setText, setText, toString, toStringWithConsume, undeclarePrefix, writeTextTo
buildWithAttachments, detach, discard, getNextOMSibling, getParent, getPreviousOMSibling, getType, insertSiblingAfter, insertSiblingBefore
addChild, getBuilder, getChildren, getChildrenWithLocalName, getChildrenWithName, getChildrenWithNamespaceURI, getDescendants, getFirstChildWithName, getFirstOMChild, getSAXSource, getXMLStreamReader, getXMLStreamReader, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeChildren
build, close, isComplete, serialize, serialize, serializeAndConsume
clone, getOMFactory
getLocalName, getNamespace, getNamespaceURI, getPrefix, getQName, setLocalName
SOAPHeader 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()
null
if the element
has no namespace or the body is emptyString getSOAPBodyFirstElementLocalName()
Copyright © 2004–2019 The Apache Software Foundation. All rights reserved.