怎样指定endpoint

sc650125 2009-08-22 08:50:36
调试的时候提示: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>
...全文
105 1 打赏 收藏 转发到动态 举报
写回复
用AI写文章
1 条回复
切换为时间正序
请发表友善的回复…
发表回复
sc650125 2009-08-22
  • 打赏
  • 举报
回复
没人答。

110,538

社区成员

发帖
与我相关
我的任务
社区描述
.NET技术 C#
社区管理员
  • C#
  • Web++
  • by_封爱
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告

让您成为最强悍的C#开发者

试试用AI创作助手写篇文章吧