Update asp.net WebService link from wsdl file?

Is it possible in asp.net to update or create a link to a web service from the wsdl file on our local drives? If so, could you describe it?

+7
wsdl web-services
source share
1 answer

Follow these steps.

  • Open Solution / Project in Visual Studio

  • Right-click on Solution Explorer in the project for which you want to add a web link.

  • Select Add Service Reference . (This will open the Add Service Link dialog box.)

  • Click the Advanced... button located at the bottom of the dialog box. (This will open another dialog box with service link options.)

  • Click the Add Web Reference button located at the bottom of the dialog box. (The Add Web Link dialog box appears again.)

  • Type OR Copy and paste the full path for the WSDL file from your local drive as the URL .

  • Click Go except the URL field.

  • Change the Web Reference Name if you want.

  • Click Add Reference .

And you're done.

+13
source share

All Articles