1.下载 axis2-1.7.9-bin.zip 文件并解压
链接:https://pan.baidu.com/s/1jK5TrQqEgislrCkvnj7XgA
提取码:80r0
2. 配置环境变量
变量名:AXIS2_HOME
变量值:C:apacheaxis2-1.7.9
3.打开 CMD 跳转到 axis2 解压目录下
cd C:apacheaxis2-1.7.9in
4.生成文件
wsdl2java -uri http://xxx.xxx.xxx.xx:12304/WebServiceEntry?wsdl -p com.webservice.sub -o d:sub
参数说明:
* -uri webservice地址
* -p 类的包名
* -o:生成的一系列文件保存的根目录