Re: Webservice Security Header error



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
>
.



Relevant Pages

  • Re: Still Need desperate help to start with ASP NET - simplified problems - HELP!!
    ... You could do it as a web service. ... The handler can draw on the webservice for information and db lookup. ... IE posts data AJAX to handler on web server ... featured application (say thick client) which does a lot of complicate ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: WS Works Locally but not on Web Server
    ... In your client have you set the Web reference to be dynamic and then put the ... URL to the Web service in the web.config or app.config file? ... > I know what you mean about the reconnection from localhost to live server. ... Both Interface and WebService are in the same folder, well, the WS ...
    (microsoft.public.dotnet.framework.webservices)
  • Re: Impersonated login to web service from outside domain
    ... the client is part of the domain group. ... : integrated windows auth fails. ... You can try creating an identical local user on the server (as the one you ... next call to the web service (ie. the process requiring the credentials to ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Unable to access AS2k from Win 2k m/c URGENT!!!!!!
    ... No, the Win2k machine just needs to have XMLA SDK and/or ADOMD.NET, MSXML4 ... > Analysis server need more credentials than specified in my ... the same machine as the ADOMD.NET client. ... Why do you need this web service ...
    (microsoft.public.data.xmlanalysis)
  • Re: Impersonated login to web service from outside domain
    ... the client is part of the domain group. ... You can try creating an identical local user on the server (as the one you ... next call to the web service (ie. the process requiring the credentials to ... Any other windows server gurus care to clarify? ...
    (microsoft.public.dotnet.framework.aspnet.security)