Spring Web Services Framework

org.springframework.ws.soap
Interface SoapEnvelope

All Superinterfaces:
SoapElement

public interface SoapEnvelope
extends SoapElement

Represents the Envelope element in a SOAP message. The header contains the optional SoapHeader and SoapBody.

Since:
1.0.0
Author:
Arjen Poutsma

Method Summary
 SoapBody getBody()
          Returns the SoapBody.
 SoapHeader getHeader()
          Returns the SoapHeader.
 
Methods inherited from interface org.springframework.ws.soap.SoapElement
addAttribute, addNamespaceDeclaration, getAllAttributes, getAttributeValue, getName, getSource, removeAttribute
 

Method Detail

getHeader

SoapHeader getHeader()
                     throws SoapHeaderException
Returns the SoapHeader. Returns null if no header is present.

Returns:
the SoapHeader, or null
Throws:
SoapHeaderException - if the header cannot be returned

getBody

SoapBody getBody()
                 throws SoapBodyException
Returns the SoapBody.

Returns:
the SoapBody
Throws:
SoapBodyException - if the header cannot be returned

Spring Web Services Framework

Copyright © 2005-2010 The Spring Web Services Framework. All Rights Reserved.