FileDocCategorySizeDatePackage
SOAPMessageContext.javaAPI DocApache Axis 1.42763Sat Apr 22 18:57:28 BST 2006javax.xml.rpc.handler.soap

SOAPMessageContext

public interface SOAPMessageContext implements javax.xml.rpc.handler.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.
version
1.0
see
javax.xml.soap.SOAPMessage

Fields Summary
Constructors Summary
Methods Summary
public abstract javax.xml.soap.SOAPMessagegetMessage()
Gets the SOAPMessage from this message context.

return
the SOAPMessage; null if no request SOAPMessage is present in this SOAPMessageContext

public abstract java.lang.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.

return
Array of URIs for SOAP actor roles
see
javax.xml.rpc.handler.HandlerChain#setRoles(java.lang.String[]) HandlerChain.setRoles(java.lang.String[])
see
javax.xml.rpc.handler.HandlerChain#getRoles() HandlerChain.getRoles()

public abstract voidsetMessage(javax.xml.soap.SOAPMessage message)
Sets the SOAPMessage for this message context.

param
message SOAP message
throws
javax.xml.rpc.JAXRPCException if any error during the setting of the SOAPMessage in this message context
throws
java.lang.UnsupportedOperationException if this operation is not supported