WSE066: When WCF client to WSE3.0 Services

  System.ServiceModel.Security.MessageSecurityException: An unsecured or incorrectly secured fault was received from the other party. See the inner FaultException for the fault code and detail. System.ServiceModel.FaultException: Microsoft.Web.Services3.Security.SecurityFault: Message Expired -->System.Exception: WSE066: Timestamp is expired. This indicates a stale message but may also be caused by lack of synchronization between sender and receiver clocks. Make sure the clocks are synchronized or use the timeToleranceInSeconds element in the microsoft.web.services3 configuration section to adjust tolerance for lack of clock synchronization.

  Solution:

  1. make sure that the clock on the server was properly synchronized with an accurate NTP server.

  2. Check the WCF.TimeToLive match the server configuration.

  This topic is added as a note for further attention.

你可能感兴趣的:(service)