wsimport:未声明的命名空间前缀
wsimport: undeclared namespace prefix
wsimport https://api2.autotrade.su/api.wsdl
给我这个:
[ERROR] undeclared namespace prefix: "ns2" line 302 of
https://api2.autotrade.su/api.wsdl
[ERROR] undeclared namespace prefix: "ns2" line 328 of
https://api2.autotrade.su/api.wsdl
[ERROR] undeclared namespace prefix: "nxsd" line 454 of
https://api2.autotrade.su/api.wsdl
[ERROR] "Use of SOAP Encoding is not supported. SOAP extension element
on line 775 in https://api2.autotrade.su/api.wsdl has use="encoded" "
此服务与 wsdl 兼容吗?如何解决这个问题?
无效。您需要自己更正它。第 454 行很简单,拼写错误应该是 xsd 而不是 nxsd。您必须考虑 Map 的命名空间应该是什么,根据其他声明判断,例如 namesp1:ArrayOfSOMETHING
wsimport https://api2.autotrade.su/api.wsdl
给我这个:
[ERROR] undeclared namespace prefix: "ns2" line 302 of https://api2.autotrade.su/api.wsdl
[ERROR] undeclared namespace prefix: "ns2" line 328 of https://api2.autotrade.su/api.wsdl
[ERROR] undeclared namespace prefix: "nxsd" line 454 of https://api2.autotrade.su/api.wsdl
[ERROR] "Use of SOAP Encoding is not supported. SOAP extension element on line 775 in https://api2.autotrade.su/api.wsdl has use="encoded" "
此服务与 wsdl 兼容吗?如何解决这个问题?
无效。您需要自己更正它。第 454 行很简单,拼写错误应该是 xsd 而不是 nxsd。您必须考虑 Map 的命名空间应该是什么,根据其他声明判断,例如 namesp1:ArrayOfSOMETHING