码迷,mamicode.com
首页 > Web开发 > 详细

使用WCF和WEBService出现配置的问题

时间:2016-10-18 18:21:33      阅读:550      评论:0      收藏:0      [点我收藏+]

标签:

错误代码:system.serviceModel/bindings/customBinding 处的绑定没有名称为“SMSServiceServiceSoapBinding”的已配置绑定。对于 bindingConfiguration,该值无效。 (D:\javaCode\WHTR-DMP\Code\WHTR.DMP.WinService\WHTR.DMP.ScheduleService\bin\Debug\WHTR.DMP.ScheduleService.vshost.exe.Config line 100)

 

 

解决方法:在ScheduleService的App.config文件加入<binding name="BasicHttpBinding_IGiftCashService" />和

<binding name="SMSServiceServiceSoapBinding">
<textMessageEncoding messageVersion="Soap12" />
<httpTransport />
</binding>

使用WCF和WEBService出现配置的问题

标签:

原文地址:http://www.cnblogs.com/zhongzunmu/p/5974021.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!