CentraSite Documentation : Runtime Governance with CentraSite : Invoking webMethods IS Services in Virtual Services : Using the Security API in webMethods IS Services : pub.mediator.security.ws:AddTimestamp
pub.mediator.security.ws:AddTimestamp
Adds a timestamp to the outbound SOAP request WS-Security header. This service includes the following input parameters:
Note:  
For reasons of legibility some of the examples below contain break lines and may not work when pasted into applications or command line tools.
In the parameter descriptions, the data type is listed first, followed by the Java type in parenthesis, for example, “Object (org.apache.axis2.context.MessageContext)”.
Input Parameters
timeToLive
Integer (Integer) (Optional) Specifies the duration (in seconds) for which the request is valid.
The default value is: 300 (5 minutes)
signTimestamp
Boolean (Boolean) (Optional) Indicates whether the generated timestamp must be signed by Mediator 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 Mediator. For details, see Administering webMethods Mediator.
The default value is: false

useMilliSecond Precision
Boolean (Boolean) (Optional) Indicates whether the generated timestamp must have millisecond precision.
The default value is: true
MessageContext
Object (org.apache.axis2.context.MessageContext) (Required) Mediator will place a MessageContext variable into the pipeline before executing the webMethods IS service call.
The default value is: org.apache.axis2.context.MessageContext instance
actor
String (String) (Optional) 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 the actor specified in it, then this value will not overwrite it.
The default value is: ""
mustUnderstand
Boolean (Boolean) (Optional) 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.
The default value is: false
Copyright © 2005-2015 Software AG, Darmstadt, Germany.

Product LogoContact Support   |   Community   |   Feedback