简体   繁体   中英

How can I add a web reference without the web service URL?

Basically, I have a regenerated wrapper code for a web service that I need to use; when I run this, it works perfectly and receives the data from web service.

How can I add an already regenerated code from a .wsdl file to another Visual Studio solution as a web service?

First of all, you should be doing all new web service development (both client and server) using WCF. You should use "Add Service Reference" instead of "Add Web Reference".

In either case, simply give the file system path to the .WSDL file.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM