Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Add Web Reference option missing in VS2008

People also ask

How do I add a Web reference to a SVC file?

Try starting your service first by right-clicking the . svc file and using "View in Browser". Then give the URL of the service to the "Add Web Reference" dialog.

How do I add a Web service reference in Visual Studio code?

To add a reference to a service in the current solution (. NET Framework projects) In Solution Explorer, right-click the name of the project to which you want to add the service, and then click Add Service Reference. The Add Service Reference dialog box appears.

How do I add a Web reference folder in Visual Studio 2017?

To add a Web reference to a project. In Solution Explorer, right-click the name of the project to add the Web service to and then click Add Web Reference. The Add Web Reference dialog box is displayed. In the URL box, enter the URL of the Web service to use.


Kirk Evans blogged about that very issue Here

Basically, you just add a service reference. A web reference is just one type of service you can add.


  1. Right click References and click 'Add Service Reference'
  2. In the Add Service Reference dialog click Advanced
  3. In the Advanced Dialog click 'Add Web Reference'
  4. Continue as you normally would for an asmx web service.

A Service Reference is the same as a Web Reference -- that is, you can add an ASMX web service as a reference and it will generate your proxies/etc. just like Add Web Reference did.

The change is to support WCF and have all remote ("service") references look and act the same in VS.


I think you need to pass the url to the asmx, not the wsdl