Package org.springframework.ws.soap
Interface SoapEnvelope
- All Superinterfaces:
SoapElement
Represents the
Envelope element in a SOAP message. The header contains the
optional SoapHeader and SoapBody.- Since:
- 1.0.0
-
Method Summary
Methods inherited from interface org.springframework.ws.soap.SoapElement
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttribute
-
Method Details
-
getHeader
Returns theSoapHeader. Returnsnullif no header is present.- Returns:
- the
SoapHeader, ornull - Throws:
SoapHeaderException- if the header cannot be returned
-
getBody
Returns theSoapBody.- Returns:
- the
SoapBody - Throws:
SoapBodyException- if the header cannot be returned
-