netformx
asked on
How to call to sharepoint web services from ASP.NET, using on both IIS Windows authentication?
How to call to Sharepoint (MOSS 2007) web services from ASP.NET (I am calling from myWebService to sp web service). Both ASP.NET and Sharepoint are configured to work with windows authentication.
If I try from asp.net:
userGroup - is the web reference
userGroup.Credentials = System.Net.CredentialCache .DefaultCr edentials;
Get 401 error
I have configured in web.config of my asp.net application impersonate=true.
If pass username, password
userGroup.Credentials = new System.Net.NetworkCredenti al(name, pass, domain);
- works OK, but I don't have user password ...
Should I use Kerberos authentication on my IIS and enable accoutns for delegation - or not nesesary?
If I try from asp.net:
userGroup - is the web reference
userGroup.Credentials = System.Net.CredentialCache
Get 401 error
I have configured in web.config of my asp.net application impersonate=true.
If pass username, password
userGroup.Credentials = new System.Net.NetworkCredenti
- works OK, but I don't have user password ...
Should I use Kerberos authentication on my IIS and enable accoutns for delegation - or not nesesary?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.