警告
25
自定义工具警告: 无法导入 wsdl:port
详细信息: 导入 wsdl:port 所依赖的 wsdl:binding 时出错。
wsdl:binding 的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='WebServiceForXiAoHttpPost']
详细信息: 导入 wsdl:port 所依赖的 wsdl:binding 时出错。
wsdl:binding 的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:binding[@name='WebServiceForXiAoHttpPost']
错误来源的 XPath: //wsdl:definitions[@targetNamespace='http://tempuri.org/']/wsdl:service[@name='WebServiceForXiAo']/wsdl:port[@name='WebServiceForXiAoHttpPost']
原因,在web.config中添加了
<!--<webServices>
<protocols>
<add name="HttpGet"/>
<add name="HttpPost"/>
<add name="HttpSoap"/>
<add name="Documentation"/>
</protocols>
</webServices>-->