1.新建xml 文件 1.xml
<jaxb:bindings version="2.1"
xmlns:jaxb="http://java.sun.com/xml/ns/jaxb";
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc";
xmlns:xs="http://www.w3.org/2001/XMLSchema">;
<jaxb:globalBindings generateElementProperty="false"/>
</jaxb:bindings>
2.打开命令行 wsimport -b "1.xml" http://localhost:8080/hello?wsdl 生成的webservice 接口代码