im trying to consume a wcf service from a client application. Thw WCF services is hosted in web. After i add the service reference to the project, all the proxy gets generated.
when im tryin to access the proxy class methods., im gettin gthe below error:
An endpoint configuration section for contract 'XService.XServicePortType' could not be loaded because more than one endpoint configuration for that contract was found. Please indicate the preferred endpoint configuration section by name.
In app.config, i removed custom binding end points. I have just one http end point.
Thanks in advance.