Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
840 views
in Technique[技术] by (71.8m points)

web services - Update asp.net WebService reference from wsdl file?

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 ?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

Follow these steps.

  1. Open the Solution/Project in Visual Studio

  2. Right Click on Solution Explorer on the project for which you want to add web reference.

  3. Select Add Service Reference. (This will open a Add Service Reference dialogue box.)

  4. Click on Advanced... button located at bottom of the dialogue box. (This will open another dialogue box named Service Reference Settings.)

  5. Click on Add Web Reference button located at bottom of the dialogue box. (Again a dialogue box Add Web Reference would appear.)

  6. Enter OR Copy & Paste full path for the WSDL file from your local drive as the URL.

  7. Click on Go button besides the URL box.

  8. Edit Web Reference Name if you want to.

  9. Click on Add Reference.

And you are done.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...