別の Web サイトでホストされている wcf サービスに asp.net ページをバインドしようとしていますが、
クライアントの web.config ファイルには次のコードがあります。
<endpoint address="http://localhost:1670/webhost/CustomersService.svc" binding="wsHttpBinding" bindingConfiguration="wsHttpBinding_ICustomersService" contract="CustomersService.ICustomersService" name="BasicHttpBinding_ICustomersService"/>
</client>
サービスの web.config ファイルには次のコードがあります。
<endpoint address="" binding="wsHttpBinding" contract="CustomerServiceLibrary1.ICustomersService">
<identity>
<dns value="localhost" />
</identity>
</endpoint>
エラーは次のとおりです。
エラー 1 Reference.svcmap: system.serviceModel/bindings/wsHttpBinding のバインディングには、'wsHttpBinding_ICustomersService' という名前の構成済みバインディングがありません。これは bindingConfiguration の無効な値です。(C:\Users\Lara\Documents\Visual Studio 2010\Projects\CustomerServiceDemo\WebClient\web.config 行 25) App_WebReferences/CustomersService/.