Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Adding WSDL files from file directory

I have WSDL files that I need to add to my project as web references. They are located with .wsdl extensions in my local directory. I have never added them like this so I am not really sure how I can add them as a web reference.

I haven't been able to find something useful. Any ideas?

like image 652
Tarik Avatar asked Jul 26 '12 16:07

Tarik


2 Answers

  1. Right click on project and select add Web Reference

  2. In dialog Box type on the URL File://test.xsdl

like image 159
Aghilas Yakoub Avatar answered Oct 07 '22 12:10

Aghilas Yakoub


No answer was accurate for me, but for VS2019, to add a wsdl file as a service reference, I right-clicked on the project -> add -> connected services -> Microsfot WCF Web Services reference -> browse the .wsdl file. This will generate the code to call the referenced services.

like image 25
Cromm Avatar answered Oct 07 '22 13:10

Cromm