DCSIMG
Where did the "Add Web Reference" disappear???? - Pini Dayan

Pini Dayan

The best thing about a boolean is even if you are wrong, you are only off by a bit.

Where did the "Add Web Reference" disappear????

I am writing some code now days that does an extensive use with the WCE 2.0, don't ask why.

Anyway the consumer of the web service is a .NET 3.5 application (Windows app and web app) so I tried adding a web reference in the only way I know, using the "Add web reference" from the project's context menu. I was amazed to see that the menu option disappeared.

If you don't remember what i am talking about, here is the menu from vs.net 2005:

image 

So I understood that the reason for that is because WCF service is backward compatible with asmx (web services) and i can simply add this reference from the "Add Service Reference" if i want. What i mean is that the communication abilities of web services are part of the WCF abilities.

So i sought the only way to do it is to use the WSDL.EXE utility that still exists. but then i foung out that if you select "Add Service Reference" , you get this menu:

image

If you look the the left bottom side , and click the "Advanced" button, you get the menu:

image

And here it is!!!! on the left bottom side you get the missing "Add Web Reference". 

Comments

Offir Shvartz said:

There is no problem adding web service as Service refernce (it's just a private case for WCF - WCF supports wsdl and http soap)

# December 24, 2008 2:09 PM

Pini Dayan said:

True.But for those who are not familiar with WCF and dont know what end points are .... its a good solution.

# December 24, 2008 3:59 PM

RA said:

Thanks!

# March 25, 2009 5:34 PM
Leave a Comment

(required) 

(required) 

(optional)

(required) 


Enter the numbers above: