Re: Can't query "intrinsic" web services exposed by WSS
From: Wei-Dong XU [MSFT] (v-wdxu_at_online.microsoft.com)
Date: 08/02/04
- Next message: SLE: "Security"
- Previous message: Mike: "Re: Strange error on Webpart"
- Next in thread: AMondaleNoSpam: "Re: Can't query "intrinsic" web services exposed by WSS"
- Reply: AMondaleNoSpam: "Re: Can't query "intrinsic" web services exposed by WSS"
- Messages sorted by: [ date ] [ thread ]
Date: Mon, 02 Aug 2004 12:19:23 GMT
Hi Alex,
Appreciate your patience once more!
This appears to be one permission issue from the error message, 401
unauthorizaed. Could you be so kind to tell me the configuration of your
asp.net web application:
Is it set with Integrated security with "impersonate=true" and does the
user on the client(i.e. IE) have correct SPS privileges to call whatever
method is he trying to call in Webs.asmx.
The web request should be sent to the webs.asmx as the image below:
IE ------------>ASP.net App------------------------------->Webs.asmx
User A (Virtual Dir set to Integrated
authentication with impersonate=true
and using DefaultCredentials)
The User A needs to have correct privileges in the SPS site to call the
method, I would suggest giving User A admin privliges on SPS server to see
if that works then.
Furthermore, you can also check, in SPS scenario, ASP.net application needs
to be in the _layouts folder or create a new virtual directory and exclude
it from the managed paths.
If all this doesn't work, we can create the credentials object and passing
it instead of DefaultCredentials property to see if that works.The sample
code is:
<web service proxy class> ws = new <web service proxy class>();
CredentialCache cache = new CredentialCache();
cache.Add(new Uri(ws.Url), "Negotiate", new NetworkCredential("v-wdxu",
"<password>", "<domainname>"));
ws.Credentials = cache;
Please feel free to let me know if you have any question.
Best Regards,
Wei-Dong Xu
Microsoft Product Support Services
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
- Next message: SLE: "Security"
- Previous message: Mike: "Re: Strange error on Webpart"
- Next in thread: AMondaleNoSpam: "Re: Can't query "intrinsic" web services exposed by WSS"
- Reply: AMondaleNoSpam: "Re: Can't query "intrinsic" web services exposed by WSS"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|