Warning: file_get_contents(/data/phpspider/zhask/data//catemap/0/xml/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Xml WSDL无法导入绑定_Xml_Wsdl_Asmx - Fatal编程技术网

Xml 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

我无法使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 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已损坏,无法工作