首页 > Web开发 > 详细

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

时间:2016-10-18 18:19:47      阅读:486      评论: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
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!