Is it possible in asp.net to update or create a web service reference from a wsdl file on our local drives? If so, could you please describe it ?
Follow these steps.
Open the Solution/Project in Visual Studio
Solution
Project
Visual Studio
Right Click on Solution Explorer on the project for which you want to add web reference.
Solution Explorer
Select Add Service Reference. (This will open a Add Service Reference dialogue box.)
Add Service Reference
Click on Advanced... button located at bottom of the dialogue box. (This will open another dialogue box named Service Reference Settings.)
Advanced...
Click on Add Web Reference button located at bottom of the dialogue box. (Again a dialogue box Add Web Reference would appear.)
Add Web Reference
Enter OR Copy & Paste full path for the WSDL file from your local drive as the URL.
WSDL
URL
Click on Go button besides the URL box.
Go
Edit Web Reference Name if you want to.
Web Reference Name
Click on Add Reference.
Add Reference
And you are done.
1.4m articles
1.4m replys
5 comments
57.0k users