[英]WSDL unable to import binding
我無法使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位於:
http://www.stoysnet.com//stn_mfg/link/soap.php?wsdl
有任何想法嗎?
一些注意事項:
您收到的錯誤消息完全正確。 IDType
是元素的名稱,而不是類型的名稱。 消息中卻引用了它:
<message name="ID"> <part name="ID" type="tns:IDType" /> </message>
換句話說,此WSDL已損壞,無法正常工作。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.