Tja!
Har ett problem som jag hemst gärna skulle vilja ha hjälp med...
(skrivet på engelska för posting i engelsk forum...)
I've created a Webservice and an small application that consumes this webservice. When hosting the webservice on my computer everything works fine. But now I tried to install the webservice on the computer that's going to act as my server and I get some problems with access control.
(In the installation process I just copied the files needed and made some minor changes in IIS).
First I get the exception (when running the client application)
An exception occured while executing TPUpdater.DoTPUpdate():
System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction:
http://10.96.1.104/TPEGBUWebService/DoTPUpdate.
at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest()
at System.Web.Services.Protocols.SoapServerProtocol.Initialize()
at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest
request, HttpResponse response, Boolean& abortProcessing)
Then if I change in ISS, properties for my WebService->Directory Security->Edit(under Anonymous Access
and...)-> uncheck Anonymous Access. I get the following Exception instead:
An exception occured while executing TPUpdater.DoTPUpdate(): The request failed with HTTP status
401: Access Denied.
So...can anyone explain to me how to setup the access for an application to call an webservice?
(By the way... the Web service works if I go to http://10.96.1.104/TPEGBUWebService/ (or on localhost) without any problem.)
Thank you for your help! Best Regards!
/Niels