My web service is used by the client from the different time zone (+8 hours).
Client receives the error:
Microsoft.Web.Services2.Security.SecurityFault: An error was discovered
processing the <Security> header ---> System.Exception: Creation time in the
timestamp can not be in the future.
--- End of inner exception stack trace ---
at Microsoft.Web.Services2.Security.Utility.Timestamp.CheckValid()
at Microsoft.Web.Services2.Security.Utility.Timestamp.LoadXml(XmlElement
element)
at Microsoft.Web.Services2.Security.Utility.Timestamp..ctor(XmlElement
element)
at Microsoft.Web.Services2.Security.Security.LoadXml(XmlElement element)
at
Microsoft.Web.Services2.Security.SecurityInputFilter.ProcessMessage(SoapEnvelope envelope)
at Microsoft.Web.Services2.Pipeline.ProcessInputMessage(SoapEnvelope
envelope)
at
Microsoft.Web.Services2.WebServicesExtension.BeforeDeserializeServer(SoapServerMessage message)
Is there any way to overcome this problem ?
Are you sure the servers times are not synce3d in other words does your
server say 2:00 PM and there server is 10:00 PM, or is there a variance
like 2:00 PM and 10:10 PM. I have had similar problems in the past
that I resolved by syncing the servers time with an atomic clock.
Just a thought
gd g - 14 Mar 2006 06:53 GMT
I m facing the same problem , i tried to give timeout of 24 hrs even in
web.config of webservice application,still its w/o resolve ,
even 5 minuted diff. between webserver whre webservice is runnin &
Client machine ,doesnt resolv this..
Could you or anybody can help ,what could be done in web.config...