1

我正在使用 wsimport 从服务器导入 wsdl 文件。这是我正在使用的命令:

X:>wsimport -keep -verbose http://xxxxxxxxxx

parsing WSDL...


[ERROR] Schema descriptor {http://XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX in message part "in" is not defined and could not be bound to Java. Perhaps the schema descriptor is not defined in the schema imported/included in the WSDL. You can either a
dd such imports/includes or run wsimport and provide the schema location using -
b switch.

如何导入 wsdl 文件?

4

1 回答 1

0

指定了确切的 JDK 版本

%AS_HOME%/bin/wsimport -keep -d ./build -p com.sample.hello http://localhost:8080/HelloSvr/HelloService?wsdl

于 2012-05-23T14:03:44.600 回答