CloudStreams 10.5 | webMethods CloudStreams | Administering webMethods CloudStreams | Virtual Services | Creating a New Virtual Service (SOAP) | IS Service Constructs | Using the Security API in IS Services | pub.cloudstreams.security.ws.AddTimestamp
 
pub.cloudstreams.security.ws.AddTimestamp
Adds a timestamp to the outbound SOAP request WS-Security header. This service includes the following input parameters:
Parameter
Data Type
Description
Default Value
timeToLive
Integer
Java Type: Integer. Specifies the duration (in seconds) for which the request is valid.
300 seconds (5 minutes)
signTimestamp
Boolean
Java Type: Boolean. Indicates whether the generated timestamp must be signed by CloudStreams using the configured keystore and signing alias.
Note:
For signTimestamp to work, you must ensure that a valid IS keystore and signing alias are configured in CloudStreams. For details, see Setting the General Options.
False
useMilliSecondPrecision
Boolean
Java Type: Boolean. Indicates whether the generated timestamp must have millisecond precision.
True
MessageContext
Object
Required. Java Type: org.apache.axis2. context.MessageContext. CloudStreams will place a MessageContext parameter into the pipeline before executing the IS service call.
org.apache. axis2.context. MessageContext instance
actor
String
Java Type: String. Indicates the value of the SOAP actor attribute if a new security header is being added to the SOAP request. If the request already has a security header with this attribute specified in it, then this value will not overwrite it.
""
mustUnderstand
Boolean
Java Type: Boolean. Specifies whether the security header will have the mustUnderstand attribute set to 0 or 1 (false / true). If the security header already has this attribute set, then this value will not overwrite it.
False