ActiveVOS Server User’s Guide

Timestamp

The timestamp policy assertion adds a <Timestamp> element to the SOAP header of a message as defined by the OASIS WS-Security 1.0 specification.

To refer to this policy rather than explicitly adding it, see User-Defined Policy Assertion.

Example

<wsp:Policy
   xmlns:wsp=”http://schemas.xmlsoap.org/ws/2002/12/policy”
   xmlns:abp=”http://schemas.active-endpoints.com/ws/
    2005/12/policy”>
   <abp:Timestamp timeToLive=”300” direction=”both”/>
</wsp:Policy

The timeToLive attribute indicates the limit on receiver side that the timestamp is validated against.

The direction attribute indicates whether the timestamp is validated only at the invoked service, only on the server, or both. The values can be in (server), out (invoked service), or both.