A
ad
When we new a web Service, the default in IIS is Allow Anonymous and
Integrated Windows Authentication , we just use :
WebService.webClass myWC= new WebService.webClass();
and then we can access the WebService thought myWC
But I find some time it will fail with Access denid, and I must
must use:
WebService.webClass myWC= new WebService.webClass();
myWC.PreAuthenticate = true;
myWC.Credentials = System.Net.CredentialCache.DefaultCredentials;
I can't find when we must set Credentials, when we need not.
Could some one tell me?
Integrated Windows Authentication , we just use :
WebService.webClass myWC= new WebService.webClass();
and then we can access the WebService thought myWC
But I find some time it will fail with Access denid, and I must
must use:
WebService.webClass myWC= new WebService.webClass();
myWC.PreAuthenticate = true;
myWC.Credentials = System.Net.CredentialCache.DefaultCredentials;
I can't find when we must set Credentials, when we need not.
Could some one tell me?