You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ws.apache.org by Apache Wiki <wi...@apache.org> on 2005/04/24 18:47:29 UTC
[Ws Wiki] Update of "FrontPage/Axis/UsingCommandLineTools" by Alexander
Ivanyukovich
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by Alexander Ivanyukovich:
http://wiki.apache.org/ws/FrontPage/Axis/UsingCommandLineTools
The comment on the change is:
Added all unix equivalents of script files.
------------------------------------------------------------------------------
Save this as setaxiscp.bat, my complete version of this is at the bottom of this page.
= Create convenience tools for calling the command line tools =
- Create a batch file for each tool,
+ Create a batch file for each tool.
-
+ == Windows ==
java2wsdl.bat
{{{
java -cp %AXISCP% org.apache.axis.wsdl.Java2WSDL %*
@@ -95, +95 @@
tcpmon.bat
{{{
java -cp %AXISCP% org.apache.axis.utils.tcpmon %*
+ }}}
+
+ == Unix ==
+ java2wsdl
+ {{{
+ #!/bin/bash
+ export AXISLIB=../lib
+ export LOG4J_PROPERTIES_HOME=..
+ export AXISCLASSPATH=$AXISLIB/activation.jar:$AXISLIB/mail.jar:$AXISLIB/axis.jar:$AXISLIB/commons-discovery.jar:$AXISLIB/commons-logging.jar:$AXISLIB/jaxrpc.jar:$AXISLIB/saaj.jar:$AXISLIB/log4j-1.2.8.jar:$AXISLIB/wsdl4j.jar:$LOG4J_PROPERTIES_HOME:
+ java -cp $AXISCLASSPATH org.apache.axis.wsdl.Java2WSDL $*
+ }}}
+
+ wsdl2java
+ {{{
+ #!/bin/bash
+ export AXISLIB=../lib
+ export LOG4J_PROPERTIES_HOME=..
+ export AXISCLASSPATH=$AXISLIB/activation.jar:$AXISLIB/mail.jar:$AXISLIB/axis.jar:$AXISLIB/commons-discovery.jar:$AXISLIB/commons-logging.jar:$AXISLIB/jaxrpc.jar:$AXISLIB/saaj.jar:$AXISLIB/log4j-1.2.8.jar:$AXISLIB/wsdl4j.jar:$LOG4J_PROPERTIES_HOME:
+ java -cp $AXISCLASSPATH org.apache.axis.wsdl.WSDL2Java $*
+ }}}
+
+ adminclient
+ {{{
+ #!/bin/bash
+ export AXISLIB=../lib
+ export LOG4J_PROPERTIES_HOME=..
+ export AXISCLASSPATH=$AXISLIB/activation.jar:$AXISLIB/mail.jar:$AXISLIB/axis.jar:$AXISLIB/commons-discovery.jar:$AXISLIB/commons-logging.jar:$AXISLIB/jaxrpc.jar:$AXISLIB/saaj.jar:$AXISLIB/log4j-1.2.8.jar:$AXISLIB/wsdl4j.jar:$LOG4J_PROPERTIES_HOME:
+ java -cp $AXISCLASSPATH org.apache.axis.client.AdminClient $*
+ }}}
+
+ tcpmon
+ {{{
+ #!/bin/bash
+ export AXISLIB=../lib
+ export LOG4J_PROPERTIES_HOME=..
+ export AXISCLASSPATH=$AXISLIB/activation.jar:$AXISLIB/mail.jar:$AXISLIB/axis.jar:$AXISLIB/commons-discovery.jar:$AXISLIB/commons-logging.jar:$AXISLIB/jaxrpc.jar:$AXISLIB/saaj.jar:$AXISLIB/log4j-1.2.8.jar:$AXISLIB/wsdl4j.jar:$LOG4J_PROPERTIES_HOME:
+ java -cp $AXISCLASSPATH org.apache.axis.utils.tcpmon $*
}}}
== Usage ==