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

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

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

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

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