Save This Page
Home » openjdk-7 » javax » xml » rpc » handler » soap » [javadoc | source]
javax.xml.rpc.handler.soap
public interface: SOAPMessageContext [javadoc | source]

All Implemented Interfaces:
    MessageContext

The interface javax.xml.rpc.soap.SOAPMessageContext provides access to the SOAP message for either RPC request or response. The javax.xml.soap.SOAPMessage specifies the standard Java API for the representation of a SOAP 1.1 message with attachments.
Method from javax.xml.rpc.handler.soap.SOAPMessageContext Summary:
getMessage,   getRoles,   setMessage
Method from javax.xml.rpc.handler.soap.SOAPMessageContext Detail:
 abstract public SOAPMessage getMessage()
    Gets the SOAPMessage from this message context.
 abstract public String[] getRoles()
    Gets the SOAP actor roles associated with an execution of the HandlerChain and its contained Handler instances. Note that SOAP actor roles apply to the SOAP node and are managed using HandlerChain.setRoles and HandlerChain.getRoles. Handler instances in the HandlerChain use this information about the SOAP actor roles to process the SOAP header blocks. Note that the SOAP actor roles are invariant during the processing of SOAP message through the HandlerChain.
 abstract public  void setMessage(SOAPMessage message)
    Sets the SOAPMessage for this message context.