A client proxy is required to use WCF services from .NET clients. A proxy is an in-memory object on the client side that provides the same interface or API as the WCF service. Your consumer code will make calls against this proxy and the proxy will send these calls as SOAP messages to the WCF service.
Proxies can be generated by Visual Studio code based on metadata provided by the WCF service, either at the WSDL endpoint or in WS-MetaDataExchange (which is based on SOAP).
If you need more control over the consumption of services, you can proxy servers with a manual code. For example, you want to encapsulate a repeating usage pattern, like setting up credentials, etc.
Waqas dilawar daha
source share