WebService异常: 提供的 URI 方案“https”无效,应为“http”。 参数名: via
解决如下:
把节点 httpsTransport 改为 httpTransport
原配置:
<bindings> <customBinding> <binding name="ZWS_CUST"> <mtomMessageEncoding messageVersion="Soap11WSAddressing10" /> <httpsTransport authenticationScheme="Basic" /> </binding> </customBinding> </bindings>
修改为:
<bindings> <customBinding> <binding name="ZWS_CUST"> <mtomMessageEncoding messageVersion="Soap11WSAddressing10" /> <httpTransport authenticationScheme="Basic" /> </binding> </customBinding> </bindings>