Re: Webservice Security Header error



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: 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: Web service testing
    ... To test if my code was faulty or not, I back-ported the web service to a standard 2.0 web service using Visual Studio 2005. ... The service is run under IIS on a Windows 2003 server, so there are no server side connection limits that can explain this. ... ASP.NET webservice application. ... In addition, since the problems occur at client, you can use Visual studio ...
    (microsoft.public.dotnet.framework.webservices)
  • 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)