Xml WSDL无法导入绑定
我无法使WSDL正常工作,这会导致以下错误:Xml WSDL无法导入绑定,xml,wsdl,asmx,Xml,Wsdl,Asmx,我无法使WSDL正常工作,这会导致以下错误: C:\Program Files\Microsoft.NET\SDK\v2.0\Bin>wsdl.exe /username:NOTGIVINGU/password:THEPASSWORD /v /parsableerrors http://www.stoysnet.com/stn_mfg/link/soap.php?wsdl WSDL: error WSDL1: Unable to import binding 'Product' from
C:\Program Files\Microsoft.NET\SDK\v2.0\Bin>wsdl.exe /username:NOTGIVINGU/password:THEPASSWORD /v /parsableerrors http://www.stoysnet.com/stn_mfg/link/soap.php?wsdl
WSDL: error WSDL1: Unable to import binding 'Product' from namespace 'http://www.stoysnet.com/stn_mfg/link/soap.php?wsdl'.
Unable to import operation 'exists'.
The datatype 'http://www.stoysnet.com/stn_mfg/link/soap.php?wsdl:IDType' is missing.
WSDL位于:
有什么想法吗?一些注意事项:
编写此WSDL的人不理解XML名称空间。在XML名称空间中使用查询字符串?wsdl是没有意义的。
您收到的错误消息完全正确。IDType是元素的名称,而不是类型的名称。但它在一条消息中被引用:
<message name="ID">
<part name="ID" type="tns:IDType" />
</message>
换句话说,此WSDL已损坏,无法工作