javax.xml.rpc.handler.soap
Interface SOAPMessageContext
- All Superinterfaces:
- MessageContext
- public interface SOAPMessageContext
- extends 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.
- See Also:
SOAPMessage
getMessage
public SOAPMessage getMessage()
- Gets the SOAPMessage from this message context
- Returns:
- Returns the SOAPMessage; returns null if no request
SOAPMessage is present in this SOAPMessageContext
setMessage
public void setMessage(SOAPMessage message)
- Sets the SOAPMessage for this message context
- Parameters:
message
- Request SOAP message- Throws:
JAXRPCException
- If any error during the setting
of the request message or if invalid SOAPMessage
is setjava.lang.UnsupportedOperationException
- If this
operation is not supported
Copyright © 2001 Apache XML Project. All Rights Reserved.