Home » axiom-1.2.8-src » org.apache.axiom.soap » [javadoc | source]
org.apache.axiom.soap
public interface: SOAPEnvelope [javadoc | source]

All Implemented Interfaces:
    OMElement

All Known Implementing Classes:
    SOAPEnvelopeImpl, SOAPEnvelopeImpl

Interface SOAPEnvelope
Method from org.apache.axiom.soap.SOAPEnvelope Summary:
getBody,   getHeader,   getSOAPBodyFirstElementLocalName,   getSOAPBodyFirstElementNS,   getVersion,   hasFault
Method from org.apache.axiom.soap.SOAPEnvelope Detail:
 public SOAPBody getBody() throws OMException
    Returns the SOAPBody object associated with this SOAPEnvelope object.

    This SOAPBody will just be a container for all the BodyElements in the OMMessage

 public SOAPHeader getHeader() throws OMException
    Returns the SOAPHeader object for this SOAPEnvelope object.

    This SOAPHeader will just be a container for all the headers in the OMMessage

 public String getSOAPBodyFirstElementLocalName()
    Retrieves the local name of the first element in the body. The implementation might build the OMElement or it may obtain this information from the builder/parser without building the OMElement. Use this method in the situations where you need to know the name, but don't necessarily need the OMElement.
 public OMNamespace getSOAPBodyFirstElementNS()
    Retrieves the OMNamespace of the first element in the body. The implementation might build the OMElement or it may obtain this information from the builder/parser without building the OMElement. Use this method in the situations where you need to know the OMNamespace, but don't necessarily need the OMElement.
 public SOAPVersion getVersion()
 public boolean hasFault()
    Returns true if there is a SOAPFault in the body. The implementation may choose to get this information by building the OM tree or use parser provided information.