Re: Webservice Security Header error
- From: "Yedu" <Yedu@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 1 Jun 2005 08:56:03 -0700
You can also specify a tolerance that you willing to accept on the Webservice
in the web.config
<security>
<timeToleranceInSeconds>1800</timeToleranceInSeconds>
</security>
"Dilip Krishnan" <"dilip.krishnan AT apdi" wrote:
> Unfortunately yes! However, it has to only be the same UTC. So for
> example different time zones would have the same universal time. You'll
> have a problem only if the timezones varied by more than 5 mins
>
> RG wrote:
> > Syncing the times on both machines fixed the issue. Like I asked in my other
> > question, What happens if we install this windows-based test application to a
> > machine in client company and they try to call the web service through the
> > internet.
> > Will they see the same issue if their desktops' time is off by more than 5
> > minutes than our server time? Do they have to sync up their time with the
> > time of our server?
> >
> > Thank you very much.
> >
> >
> > "RG" wrote:
> >
> >
> >>The Web Service has been implemented using
> >>WS-Security so it expects a Username/Password
> >>token (with PasswordOption.SendHashed option).
> >>I've built this using MS WSE 2.0 SP3 in VS.NET.
> >>
> >>I've also created a Windows Form application
> >>which acts as a client to the webservice.
> >>The WS resides (network domain is, say, testinginternal.com)
> >>on e.g. http://mytest.testinginternal.com/testservice/summary.asmx,
> >>this is the URL used to create a web reference for the client.
> >>
> >>Before deploying the webservice it resided on my
> >>local machine (network domain for local machine
> >>is different, say, developerinternal.com), I tested it
> >>here using the local URL
> >>(http://localhost/testservice/summary.asmx)
> >>as the web reference. Everything works fine when using locally.
> >>
> >>Now when I call one of the web service functions
> >>(on the WS server), supplying my username
> >>and password, from my client (on my machine), the
> >>call fails with the error
> >>"An error was discovered processing the <Security> header".
> >>If I move my client, to the server holding the web service,
> >>and call the WS function again supplying my username and password, it works.
> >>
> >>Any suggestions/solutions would be helpful.
> >>
> >>Thanks
>
> --
> HTH
> Regards,
> Dilip Krishnan
> MCAD, MCSD.net
> dilip.krishnan AT apdiya DOT com
>
.
- Prev by Date: Re: proxy has no RequestSoapContext?
- Next by Date: Re: WS Security issues
- Previous by thread: Re: proxy has no RequestSoapContext?
- Next by thread: WSE 2 adoption
- Index(es):
Relevant Pages
|