Click here to Skip to main content
15,867,330 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
HI,

I am trying to call a third party web service link and getting the error "The request failed with HTTP status 401: Unauthorized.". I have followed the below steps. Could you please help me on this.

1. I have got the wsdl of the the webservice. Added web service reference of that third party service using the WSDL.

2. Created a object of the web reference and calling a method of that web service. I am receiving the error "The request failed with HTTP status 401: Unauthorized.".

Please help me on the next steps.

Thanks and Regards,

Aniket
Posted
Comments
F-ES Sitecore 28-May-15 7:20am    
Contact the service vendor as you might need to supply credentials, or do some other action. All we can tell you is that the service requires you to be authenticated, and you aren't.
ZurdoDev 28-May-15 8:03am    
Exactly. I suggest you post as solution since that's all we can do for OP.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900