java自动生成WebService客户端命令

说明:

JDK必须是1.6
com.qisentch.weather.client 生成的包名

../bin 是生成后的路径
http://172.31.143.65:8080/WeatherService/lovo?wsdl 是webservices地址

运行,cmd,输入命令
D:\Java\jdk1.6.0_10\bin>wsimport -d ../bin -s ../src -p com.qisentch.weather.client  http://172.31.143.65:8080/WeatherService/lovo?wsdl

猜你喜欢

转载自liyonghui160com.iteye.com/blog/2087832