com.sun.identity.liberty.ws.soapbinding
Class Message
java.lang.Object
|
+--com.sun.identity.liberty.ws.soapbinding.Message
- public class Message
- extends java.lang.Object
The Message
class is used by web service client and server to
construct request or response. It will be sent over the SOAP connection.
The Message
contains SOAP headers and bodies. The SOAP binding
defines the following headers: CorrelationHeader
,
ProviderHeader
, ConsentHeader
,
UsageDirectiveHeader
, ProcessingContextHeader
and ServiceInstanceUpdateHeader
.
The first 2 are required and the others are optional.
Signing is mandatory for CorrelationHeader
and SOAP Body
element which is the parent of the bodies. Other headers are optional,
so each header needs to have a flag to specify whether it needs to be
signed or not. For each header that needs to be signed, it must have an
id attribute in the top element. The constuctor will take a SAML assertion
or cert alias in order to sign.
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Message
public Message()
getServiceInstanceUpdateHeader
public ServiceInstanceUpdateHeader getServiceInstanceUpdateHeader()
- Returns
ServiceInstanceUpdateHeader
.
- Returns:
ServiceInstanceUpdateHeader
getToken
public java.lang.Object getToken()
- Returns a token for the sender of this Message.
- Returns:
- a token Object
setServiceInstanceUpdateHeader
public void setServiceInstanceUpdateHeader(ServiceInstanceUpdateHeader serviceInstanceUpdateHeader)
- Sets
ServiceInstanceUpdateHeader
.
- Parameters:
serviceInstanceUpdateHeader
- ServiceInstanceUpdateHeader