How can I get Visual Studio 2005 to call a WCF service?

How can I get Visual Studio 2005 to call a WCF service?

+1


source to share


4 answers


Yes, using wsHttpBinding will provide the service as a standard web service.



+4


source


Yes, you can.



  • If you have .NET 3.0 or 3.5 installed, you can add references to WCF assemblies (System.ServiceModel.dll, etc.) that are located in the "% WINDIR% \ Microsoft.NET \ Framework \ v3.0 \ Windows Communication Foundation ". Visual Studio 2005 does not include the svcutil utility that generates a WCF proxy, but you can download it (it comes with the Windows SDK) or use WCF without a generated proxy (for example, using the ChannelFactory <T> class).

  • Or you can add a web reference to a WCF service that uses basicHttpBinding as suggested by Jeremy Liu.

+1


source


You need to use the basic HTTP binding. See this article for details .

0


source


Just so some of it doesn't look like you used to download the CTP version of WCF Extensions for VS 2005, but that never went beyond the CTP, see this thread

It is still possible to get them from sites other than ms if all you want is to try some things, but no doubt the right way is to either use basicHttpBinding, or use the service as a "normal" web service, or go to Visual Studio 2008.

0


source







All Articles