Time syncrhonization at server and client machine which uses WSE

I

Indiresh

Hi friends,

I am stuck with a problem. I have a C#.NET based web service program which
acts as the server program and a client program, both the programs residing
at different locations. I am passing parameters using WSE methods, from
client program to server program and viceversa.

Say for ex, the server program has the system time of 10:00 AM and the
client program has the system time of -5 hours to the server program. now,
when i want to login to my client program, i have to pass on my username and
password to the server program. In doing so, since there is a time difference
of -5 hours, and i get back an error saying "Creation time can not be in the
future".

I put up the following code at the server program to resolve this issue..but
it is giving syntax errors.


<configuration>
<microsoft.web.services2>

<security>
<defaultTtlInSeconds>86400</defaultTtlInSeconds>
<timeToleranceInSeconds>86400</timeToleranceInSeconds>
</security>

</microsoft.web.services2>

</configuration>

Please let me know if there are any other methods to resolve this problem or
any other configuration settings to be done!

Thanks,
Indiresh.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top