怎样通过deploy.wsdd生产server-config.wsdd

配置axis环境变量

set JAVA_HOME=c:/j2sdk1.4.1_01
set CATALINA_HOME=c:/Tomcat 5.0
set classpath=.;%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar;
set Path=%Path%;%JAVA_HOME%/bin;%CATALINA_HOME%/bin

set AXIS_HOME=E:/Tomcat/webapps/axis
set AXIS_LIB=%AXIS_HOME%/WEB-INF/lib
set AXISCLASSPATH=%AXIS_LIB%/axis.jar;%AXIS_LIB%/commons-discovery.jar;%AXIS_LIB%/commons-logging.jar;%AXIS_LIB%/jaxrpc.jar;%AXIS_LIB%/saaj.jar;%AXIS_LIB%/log4j-1.2.8.jar;%AXIS_LIB%/activation.jar;%AXIS_LIB%/mail.jar;%AXIS_LIB%/wsdl4j-1.5.1.jar;%AXIS_LIB%/axis-ant.jar;%AXIS_LIB%/xmlsec.jar
set classpath=.;%JAVA_HOME%/lib/dt.jar;%JAVA_HOME%/lib/tools.jar;%CATALINA_HOME%/common/lib/servlet.jar;


启动tomcat ,运行-cmd  到deploy.wsdd文件所在目录下使用命令
E:/Java/Tomcat 5.5/webapps/Axis1.4_samples2/WEB-INF>java -Djava.ext.dirs="e:/Java/Tomcat 5.5/webapps/axis/WEB-INF/lib" org.apache.axis.client.AdminClient deploy.wsdd

运行这个命令后会在E:/Java/Tomcat 5.5/webapps/axis/WEB-INF 下生成一个 server-config.wsdd 这个就是我们需要的

你可能感兴趣的:(怎样通过deploy.wsdd生产server-config.wsdd)