Methods Summary |
---|
public java.lang.Object[] | getHeaders(javax.xml.namespace.QName header, javax.xml.bind.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.
|
public javax.xml.soap.SOAPMessage | getMessage()Gets the SOAPMessage from this message context. Modifications
to the returned SOAPMessage change the message in-place, there
is no need to susequently call setMessage .
|
public java.util.Set | getRoles()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 {@link javax.xml.ws.soap.SOAPBinding#setRoles} and
{@link javax.xml.ws.soap.SOAPBinding#getRoles}. Handler instances in
the handler chain 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 handler chain.
|
public void | setMessage(javax.xml.soap.SOAPMessage message)Sets the SOAPMessage in this message context
|