Problem: Accessing web service causes exception – “The request failed with
HTTP status 401 : Access Denied”.
I created a web service on my local machine and then developed a separate
test solution (windows app) to test it. The above mentioned exception occurs
when program executes a call to a function in web service.
I created another simple web service that has only one method, HelloWorld.
Then I used the test application to call the HelloWorld function and still
got the same exception.
I can use the IE to successfully get the response from the web service.
I added <identity impersonate="true" /> to web.config but nothing changed.
Does anyone has an idea what is missing?
Thanks.