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.
javax.xml.soap.SOAPMessage
| Modifier and Type | Method and Description |
|---|---|
| public Object[] | Returns: An array of unmarshalled headers; returns an empty array if no message is present in this message context or no headers match the supplied qualified name.The XML qualified name of the SOAP header(s). header, JAXBContext The JAXBContext that should be used to unmarshall the
header context, boolean If allRoles)true then returns headers for all SOAP
roles, if false then only returns headers targetted
at the roles currently being played by this SOAP node, see
getRoles.Gets headers that have a particular qualified name from the message in the message context. |
| public SOAPMessage | Returns: Returns theSOAPMessage; returns null if no
SOAPMessage is present in this message contextGets the |
| public Set | Returns: Array ofString for SOAP actor rolesGets the SOAP actor roles associated with an execution of the handler chain. |
| public void |
| getHeaders | back to summary |
|---|---|
| public Object[] getHeaders(QName header, JAXBContext context, boolean allRoles) Gets headers that have a particular qualified name from the message in the message context. Note that a SOAP message can contain multiple headers with the same qualified name.
| |
| getMessage | back to summary |
|---|---|
| public SOAPMessage getMessage() Gets the
| |
| getRoles | back to summary |
|---|---|
| public Set Gets the SOAP actor roles associated with an execution
of the handler chain.
Note that SOAP actor roles apply to the SOAP node and
are managed using | |
| setMessage | back to summary |
|---|---|
| public void setMessage(SOAPMessage message) Sets the SOAPMessage in this message context
| |