Visual Studio 2008; adding a web link

Aloha

I have a VS2008 solution to which I want to add a webservice link. I enter url as ' http://192.168.100.87:7001/wsdl/IMySOAPWebService '. The Add Web Link dialog starts looking and then throws me this error:

An error occurred while loading ' http://192.168.100.87:7001/wsdl/IMySOAPWebService/ $ metadata'.

Adding an exact reference to the VS 2005 project works great. Any hints?

0


source to share


2 answers


Aloha,



I solved it with (VS2008) svcutil.exe

This created a proxy for me with no problem

+1


source


ASMX? Are you sure you are using the correct login dialog for the standard web link? By default, VS2008 hides this option, only allowing the WCF service reference. If you look at the bottom of the dialog, you'll see a button or checkbox (I don't have 2008 in front of me) to add a link to the ASMX service.

EDIT



Found - Right Click on Your Project -> Add Service Link -> Advanced -> Add Web Link

This is where you find the correct dialog to add the ASMX service

+1


source







All Articles