Naga Raju

Naga Raju

  • NA
  • 3
  • 1.3k

Webservice access issue - 401 unauthorized access

Oct 28 2014 5:17 AM
Hi All

I received a WSDL file from my colleague. Using that WSDL I created a proxy class in VS2.0. I generated a URL of that service and try to pass the values then I am getting below error

system.net.webexception the request failed with http status 401 unauthorized.

I did below changes in app.config file 

1. Impersionation is True
2. enable port is true.

But still I am getting the error. Can some help me out to fix this issue.

I can post if you need more details.

Note: It is not hosted in IIS becuase it is windows application which can create MSI file

Answers (3)