用wsdl2java简化客户端的编写 %AXIS2_HOME%\bin\wsdl2java -uri http://localhost:8080/axis2/services/SimpleService?wsdl -p client -s -o stub |
使用wsdl2java简化客户端的编写
最新推荐文章于 2021-02-13 15:33:27 发布
实际实现:
C:\Documents and Settings\Administrator>D:
D:\>cd axis2-1.5.4
D:\axis2-1.5.4>cd bin
D:\axis2-1.5.4\bin>
D:\axis2-1.5.4\bin>
D:\axis2-1.5.4\bin>wsdl2java -uri http://192.168.1.140:8099/services/SSO?ws
dl -p com.bcinfo.sso
Using AXIS2_HOME:
D:\axis2-1.5.4
Using JAVA_HOME:
D:\Program Files\Java\jdk1.6.0_10
Retrieving document at 'http://192.168.1.140:8099/services/SSO?wsdl'.
D:\axis2-1.5.4\bin>wsdl2java -uri http://192.168.1.140:8099/services/SSO?ws
dl -p com.bcinfo.SSoClient
Using AXIS2_HOME:
D:\axis2-1.5.4
Using JAVA_HOME:
D:\Program Files\Java\jdk1.6.0_10
Retrieving document at 'http://192.168.1.140:8099/services/SSO?wsdl'.
D:\axis2-1.5.4\bin>