Groups | Blog | Home
all groups > asp.net webservices > january 2004 >

asp.net webservices : Web Services Message Expired - Urgent Help required


VJ
1/29/2004 5:04:43 PM
The problem is happening in our test box, were I am testing with no Timeout
limit. The webservice I am using to transmit data, fails with a "Message
Expired" error. When I debugged and saw values for various parameters, I saw
the below. It was interesting to note, the Created did not have any date on
it.

?WebSrv.RequestSoapContext.Timestamp.Ttl
0

?WebSrv.RequestSoapContext.Timestamp.Created
#12:00:00 AM#

?WebSrv.RequestSoapContext.Timestamp.Expires
#12/31/9999 11:59:59 PM#


The same section of code, with same data, works on the Staging box, were we
have a no Timeout limit set. I debugged into that environment and the
Created had a date and Time to its value

Somebody please Help!!! Why is this happening?

VJ

VJ
1/30/2004 9:02:46 AM
The the time is the same.

VJ

[quoted text, click to view]

Trebek
1/30/2004 9:37:21 AM
Sync the time between Webservice machine and Web server. I see this all the
time and that always fixes it. The time between the two machines has to be
within a certain range.

Alex


[quoted text, click to view]

VJ
1/30/2004 9:59:30 AM
Gosh.. this is unbelievable.. The system clock and the clock on the
webservice was out of sink, I don't know, how it is.. but when we restarted
the server, the problem went off...

:-)

VJ


[quoted text, click to view]

Trebek
1/30/2004 12:57:33 PM
np - that sort of thing happens :)


Alex

[quoted text, click to view]

LUIS FAJARDO
2/23/2004 9:38:45 PM
I have the same problem, but that resolution doesn't work for me. My
client machine is communicating with a web service running in a
different timezone (different countries). What can I do to prevent this
error to happen?


Thanks



*** Sent via Developersdex http://www.developersdex.com ***
AddThis Social Bookmark Button