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 ?
-
Yes, it is possible. Haven't you tried doing so? If yes, what problem are you facing?Devraj Gadhavi– Devraj Gadhavi2013-09-21 07:56:02 +00:00Commented Sep 21, 2013 at 7:56
-
Well, Actually I don't know how we can do it.Mohammad Dayyan– Mohammad Dayyan2013-09-21 08:02:33 +00:00Commented Sep 21, 2013 at 8:02
3 Answers
Follow these steps.
Open the
Solution/ProjectinVisual StudioRight Click on
Solution Exploreron 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 Referencebutton located at bottom of the dialogue box. (Again a dialogue box Add Web Reference would appear.)Enter OR Copy & Paste full path for the
WSDLfile from your local drive as theURL.Click on
Gobutton besides theURLbox.Edit
Web Reference Nameif you want to.Click on
Add Reference.
And you are done.

