I have web service, which use integrated security in IIS.
Now, I want to test my web service.
I created a console application and adding web reference.
now, when i m trying to use web method. It show 401 error.
m i missing any authentication.
I think i need to pass user name and password programatically.
can anyone direct me in right direction.
I have web service, which use integrated security in IIS. Now, I want to
Share
Set the web service credentials to the System.Net.CredentialCache.DefaultCredentials in your console app
Edit
pass credentials programmatically: