|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface SOAPEnvelope
Field Summary |
Fields inherited from interface org.apache.axis2.om.OMNode |
CDATA_SECTION_NODE, COMMENT_NODE, DTD_NODE, ELEMENT_NODE, ENTITY_REFERENCE_NODE, PI_NODE, SPACE_NODE, TEXT_NODE |
Method Summary | |
SOAPHeaderBlock |
addHeader(java.lang.String namespaceURI,
java.lang.String name)
Convenience method to add a SOAP header to this envelope |
SOAPBody |
getBody()
Returns the SOAPBody object associated with
this SOAPEnvelope object. |
SOAPHeader |
getHeader()
Returns the SOAPHeader object for this
SOAPEnvelope object. |
Methods inherited from interface org.apache.axis2.om.OMElement |
addAttribute, addAttribute, addChild, declareNamespace, declareNamespace, findNamespace, getAllDeclaredNamespaces, getAttribute, getAttributes, getBuilder, getChildElements, getChildren, getChildrenWithName, getFirstAttribute, getFirstChild, getFirstChildWithName, getFirstElement, getLocalName, getNamespace, getQName, getText, getXMLStreamReader, getXMLStreamReaderWithoutCaching, removeAttribute, setBuilder, setFirstChild, setLocalName, setNamespace, setText |
Methods inherited from interface org.apache.axis2.om.OMNode |
build, detach, discard, getNextSibling, getParent, getPreviousSibling, getType, insertSiblingAfter, insertSiblingBefore, isComplete, serialize, serializeWithCache |
Methods inherited from interface org.apache.axis2.om.OMContainer |
buildNext, isComplete |
Method Detail |
public 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 none
OMException
- if there is a problem
obtaining the SOAPHeader
objectpublic SOAPHeaderBlock addHeader(java.lang.String namespaceURI, java.lang.String name) throws OMException
namespaceURI
- name
-
OMException
public SOAPBody 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 none
OMException
- if there is a problem
obtaining the SOAPBody
object
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |