Update asp.net WebService reference from wsdl file?
Follow these steps.
Open the
Solution
/Project
inVisual Studio
Right Click on
Solution Explorer
on the project for which you want to add web reference.Select
Add Service Reference
. (This will open a Add Service Reference dialogue box.)Click on
Advanced...
button located at bottom of the dialogue box. (This will open another dialogue box named Service Reference Settings.)Click on
Add Web Reference
button located at bottom of the dialogue box. (Again a dialogue box Add Web Reference would appear.)Enter OR Copy & Paste full path for the
WSDL
file from your local drive as theURL
.Click on
Go
button besides theURL
box.Edit
Web Reference Name
if you want to.Click on
Add Reference
.
And you are done.
It's been long time from accepted answer. If you are using VS2019 you can simply click on the service and select "Update..."