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.SOAPMessage
Modifier and Type | Method and Description |
---|---|
SOAPMessage |
getMessage()
Gets the SOAPMessage from this message context
|
String[] |
getRoles()
Gets the SOAP actor roles associated with an execution
of the HandlerChain and its contained Handler instances.
|
void |
setMessage(SOAPMessage message)
Sets the SOAPMessage in this message context
|
containsProperty, getProperty, getPropertyNames, removeProperty, setProperty
SOAPMessage getMessage()
void setMessage(SOAPMessage message)
message
- SOAP messageJAXRPCException
- If any error during the setting
of the SOAPMessage in this message contextUnsupportedOperationException
- If this
operation is not supportedString[] getRoles()
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.HandlerChain.setRoles(java.lang.String[])
,
HandlerChain.getRoles()
Copyright © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.