I'm trying to bind an asp.net page to wcf service hosted by another website,
the web.config file for the client has the code:
<endpoint address="http://localhost:1670/webhost/CustomersService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_ICustomersService" contract="CustomersService.ICustomersService" name="BasicHttpBinding_ICustomersService"/>
</client>
the web.config file for the service has the code:
<endpoint address="" binding="wsHttpBinding" contract="CustomerServiceLibrary1.ICustomersService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
and the error is :
Error 1 Reference.svcmap: The binding at system.serviceModel/bindings/wsHttpBinding does not have a configured binding named 'wsHttpBinding_ICustomersService'. This is an invalid value for bindingConfiguration. (C:\Users\Lara\Documents\Visual Studio 2010\Projects\CustomerServiceDemo\WebClient\web.config line 25) App_WebReferences/CustomersService/.