The request failed with HTTP status 401: Unauthorized
- From: manika02 <manika02@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 10 Jul 2009 09:12:01 -0700
I am trying to implement security on a Web Service. The web service is a
simple asmx "hello world" Web service. A test web application makes a call to
the web service. Please find the configuration of my Test Web Service and
Test Website below:
1) Web Service Settings:
-Anonymous Authentication disabled for security reasons
-Windows Authentication enabled
- I have given "All" permissions to a "WindowsService" account on the Web
Service folder in IIS
2) WebSite settings:
- identity impersonate = true;
- I impersonate the identity of "WindowsService" Account so that it is a
valid user to call the web service.
When I call the WebService using the WebSite I get the Unauthorized Access
error. For Debugging purposes, I have even given "Everyone" permissions to
the WebService but I still get the same error. The only way the error goes is
when I enable "Anonymous" access but I do not want to do that for "security"
reasons. My understanding is with "Anonymous" access, anybody in the network
can access the web service.
Please advice. I have been stuck here for quite some time now.
Thanks,
Manika
.
- Prev by Date: RE: Error opening client service for hello indigo Application
- Next by Date: RE: Error opening client service for hello indigo Application
- Previous by thread: What causes this ServiceModel.Security.MessageSecurityException?
- Next by thread: RE: how to pass schema with wsdl file
- Index(es):
Relevant Pages
|