怎样指定endpoint
调试的时候提示:Please indicate the preferred endpoint configuration section by name.
下面是我的endpoint:
<client>
<endpoint address="http://localhost/wl/WebService/WS_CheYuan.asmx"
binding="customBinding" bindingConfiguration="WS_CheYuanSoap12"
contract="WS_CheYuan.WS_CheYuanSoap" name="WS_CheYuanSoap12" />
<endpoint address="http://localhost/wl/WebService/WS_HuoYuan.asmx"
binding="basicHttpBinding" bindingConfiguration="WS_HuoYuanSoap"
contract="WS_HuoYuan.WS_HuoYuanSoap" name="WS_HuoYuanSoap" />
<endpoint address="http://localhost/wl/WebService/WS_HuoYuan.asmx"
binding="customBinding" bindingConfiguration="WS_HuoYuanSoap12"
contract="WS_HuoYuan.WS_HuoYuanSoap" name="WS_HuoYuanSoap12" />
<endpoint address="http://localhost/wl/WebService/WS_CheYuan.asmx"
binding="basicHttpBinding" bindingConfiguration="WS_CheYuanSoap"
contract="WS_CheYuan.WS_CheYuanSoap" name="WS_CheYuanSoap" />
</client>