javax.xml.rpc.handler.soap
public interface SOAPMessageContext extends MessageContext
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 Also: SOAPMessage
Method Summary | |
---|---|
abstract SOAPMessage | getMessage()
Gets the SOAPMessage from this message context.
|
abstract String[] | getRoles()
Gets the SOAP actor roles associated with an execution
of the HandlerChain and its contained Handler instances.
|
abstract void | setMessage(SOAPMessage message)
Sets the SOAPMessage for this message context.
|
Returns: the SOAPMessage
; null
if no request
SOAPMessage
is present in this
SOAPMessageContext
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.
Returns: Array of URIs for SOAP actor roles
See Also: (java.lang.String[]) HandlerChain.setRoles(java.lang.String[])
HandlerChain.getRoles()
SOAPMessage
for this message context.
Parameters: message SOAP message
Throws: javax.xml.rpc.JAXRPCException if any error during the setting of the SOAPMessage in this message context java.lang.UnsupportedOperationException if this operation is not supported