Time syncrhonization at server and client machine which uses WSE

From: Indiresh (Indiresh_at_discussions.microsoft.com)
Date: 08/31/05


Date: Wed, 31 Aug 2005 06:14:03 -0700

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.



Relevant Pages

  • Re: how to write a bash script to do the following task?
    ... I need to run a server program on machine A and a client program ... on machine B. To set up a connection between SVR and CLI, ... After the connection is set up between A and B, the Client program will ...
    (comp.os.linux.misc)
  • Re: how to write a bash script to do the following task?
    ... I need to run a server program on machine A and a client program ... on machine B. To set up a connection between SVR and CLI, ... After the connection is set up between A and B, the Client program will ...
    (comp.os.linux.misc)
  • Re: How to write a bash script to do the following tasks?
    ... I need to run a server program on machine A and a client program ... After the connection is set up between A and B, the Client program will ... How to simulate the action pressing ENTER key in the bash script ...
    (alt.os.linux.suse)
  • Re: Disable DCOM
    ... You have the server program and the client program. ... alternative to competing technology like CORBA, ...
    (comp.security.firewalls)
  • how to write a bash script to do the following task?
    ... I need to run a server program on machine A and a client program ... After the connection is set up between A and B, the Client program will ... This is because the shell does not get the ...
    (comp.os.linux.misc)