将java的方法,用axis1.4的命令生成WSDL文件命令java2wsdl.bat
set Axis_Lib=E:\apache-tomcat-6.0.32\webapps\axis\WEB-INF\lib set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib% %Java_Cmd% org.apache.axis.wsdl.Java2WSDL -o HelloImpl.wsdl -l "http://localhost:8080/axis/services/HelloImpl" -n "urn:HelloImpl" -p"axis.wsdd" "urn:HelloImpl444444" axis.wsdd.HelloImpl pause;
axis1.4生成客户端命令:axis1.4_wsdl2java_client.bat
set Axis_Lib=E:\apache-tomcat-6.0.32\webapps\axis\WEB-INF\lib set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib% set Output_Path=F:\workspace\proj1\src set Package=com.site.client %Java_Cmd% org.apache.axis.wsdl.WSDL2Java -o%Output_Path% -p%Package% http://10.130.35.70:8090/sdpportal/services/DevportalToUmpApprovalWS?wsdl pause;
axis1.4生成服务端命令:axis1.4_wsdl2java_service.bat
set Axis_Lib=E:\apache-tomcat-6.0.32\webapps\axis\WEB-INF\lib set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib% set Output_Path=F:\workspace2\src set Package = com.site.service %Java_Cmd% org.apache.axis.wsdl.WSDL2Java -o %Output_Path% -d Session -s -S true -p%Package% DevportalToUmpApprovalWS.wsdl pause;
部署命令depoly.bat:
set Axis_Lib=E:\apache-tomcat-6.0.32\webapps\axis\WEB-INF\lib set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib% set Axis_Servlet=http://localhost:8080/axis/servlet/AxisServlet %Java_Cmd% org.apache.axis.client.AdminClient -l%Axis_Servlet% E:\apache-tomcat-6.0.32\webapps\axis\WEB-INF\deploy.wsdd pause
tcpMoniter.bat
set Axis_Lib=E:\apache-tomcat-6.0.32\webapps\axis\WEB-INF\lib set Java_Cmd=java -Djava.ext.dirs=%Axis_Lib% %Java_Cmd% org.apache.axis.utils.tcpmon pause;