<timeToleranceInSeconds> Element

Specifies the time buffer used by WSE to determine when a SOAP message is valid.

<microsoft.web.services3> Element
  <security> Element

<timeToleranceInSeconds value="tolerance value" />

Attributes and Elements

Attributes

Attribute Description

value

Specifies the time buffer used by WSE to determine when a SOAP message is valid. The minimum value is 0 and the maximum value is 86400 (24 hours).

Child Elements

None.

Parent Elements

Element Description

<security> Element

Controls the security settings for a WSE application.

Remarks

Use the <timeToleranceInSeconds> element when there is a clock difference between the SOAP message sender and receiver. WSE invalidates SOAP messages that have expired or are created in the future during its message validation phase. That is, during message validation, WSE verifies that the value of the <Created> element within the timestamp is in the past and that the <Expires> element of the timestamp is in the future. When there is a difference between the two clocks such that the sender's clock is ahead of the receiver's clock, the <Created> element within the timestamp might be in the future in relation to the receiver's clock. In that scenario, WSE would reject the SOAP message during its validation phase.

A similar scenario exists for expired security tokens. To alleviate this problem, add an <timeToleranceInSeconds> element to the configuration file for the receiver and set its value to the number of seconds that will account for the difference between the clocks on the sender's and receiver's computers. The default time buffer is five minutes.

See Also

Reference

<ttlInSeconds> Element