The remote server returned an error: (401) Unauthorized


#1

I’m not able to authenticate request when using wsdl however it works perfectly through rest

using asp.net mvc 5

anyone can help please


#2

When using Visual Studio, you must use the command-line wsdl.exe to build the local interface stubs, and then add that generated file to your project. (I don’t believe the integrated wizard within VS to add a web service directly to your project has ever worked for us.)


#3

Thank you, that works very well now :smiley: