Last post Aug 05, 2013 05:00 PM by sukumarraju
Aug 03, 2013 11:06 PM|nkaufman|LINK
We are consumers of web services via asmx. These web services reside on an external server i.e. external to our application. Our proxy class in V/Studio inherits from SoapHttpClientProtocol. We do use properties/methods of WebClientProtocol (a base class
of SoapHttpClientProtocol) such as Url, UseDefaultCredentials etc. programmatically in our code.
I'm wondering what corresponding properties/methods are there in WCF that provide similar functionality.
Apart from calling methods from the proxy class, we also overloaded Invoke() and call some web methods Synchronously by passing method name to Invoke(). I was wondering how do we handle that in WCF. We do have a need to call some web methods in a synchronous
Aug 05, 2013 03:40 PM|kushalrdalal|LINK
Check this thread which have more details about the wcf backward compaitability with asmx service.
Aug 05, 2013 05:00 PM|sukumarraju|LINK
WCF provides enhanced classes and interfaces for client to interact with the service by supporting
SOAP & REST services.
The service that is deployed using WCF REST can be invoked by any Http client (Browser, Fiddler or any client), note that for REST service proxy is NOT needed at client end to interact with the service.
For SOAP services adding the service reference in Visual studio generates the proxy to interact with the service from client side where it is required to create an instance of ClientProxy and access service operations.
WCF Web HTTP programming model
Summary: WCF is unified programming model that was released with .Net 3.0 during 2006 replacing ASMX (ASP.NET Service), .Net remoting or RPC services that offers easier to use classes and methods to implement services as well as clients.