Hi Drew,
I was looking the WSE code with Reflector, and unfortunately, it always read
the Time tolerance value from the configuration file. (The property is also
read-only so you can not change it).
Perhaps, you can write that configuration setting by code using the
configuration API (only the first time), so the users do not need to touch
anything in that file.
Regards.
Pablo Cibraro.
> I'm looking for a way to set TimeToleranceInSeconds programmatically in
> C#,
[quoted text clipped - 7 lines]
>
> - Drew
Drew Lettington - 17 Oct 2006 16:29 GMT
Thanks for the reply. I have had success in the past setting read-only
properties via reflection. Can you tell me the name of the WSE property so I
can try setting it?
- Drew
> Hi Drew,
>
[quoted text clipped - 19 lines]
> >
> > - Drew
Pablo Cibraro [MVP] - 18 Oct 2006 15:31 GMT
Yes, sure.
It is
Microsoft.Web.Services3.Configuration.SecurityConfiguration.TimeToleranceInSeconds
Regards,
Pablo Cibraro.
> Thanks for the reply. I have had success in the past setting read-only
> properties via reflection. Can you tell me the name of the WSE property
[quoted text clipped - 30 lines]
>> >
>> > - Drew
Drew Lettington - 18 Oct 2006 16:02 GMT
Thanks. I guess the property isn't available in WSE 2.0.
- Drew
> Yes, sure.
> It is
[quoted text clipped - 37 lines]
> >> >
> >> > - Drew
vijwm@hotmail.com - 28 Nov 2006 12:11 GMT
Hi Drew,
We are experiencing the same problem. Have you got any solution on how
to change the TimeToleranceInSeconds property programmatically?
/Janne
> Thanks for the reply. I have had success in the past setting read-only
> properties via reflection. Can you tell me the name of the WSE property so I
[quoted text clipped - 25 lines]
> > >
> > > - Drew
Drew Lettington - 28 Nov 2006 14:38 GMT
Unfortunately, no. Our users aren't too happy since changing the tollerance
means they have to modify a configuration file on each client machine as well
as the server.
- Drew
> Hi Drew,
>
[quoted text clipped - 32 lines]
> > > >
> > > > - Drew