Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

...

This document provides information on Axis2 distribution packages, system prerequisites and setting up environment variables and tools followed by detailed instructions on installation methods.

Wiki Markup_Send your feedback to:_ \ [axis-dev@ws.apache.org\|mailto:axis-dev@ws.apache.org?subject=[Axis2]\] mailing list. (Subscription details are available on [Axis2 site|http://ws.apache .org/axis2/mail-lists.html] .) Kindly prefix every email subject with \ [Axis2\].

Contents

...

Script Name

Description

axis2.{bat|sh}

You can use this script to run web service clients written using Axis2. This script calls the "java" command after adding the classpath for Axis2 dependent libraries (*.jar files present in your AXIS2_HOME/lib), setting the Axis2 repository location (AXIS2_HOME/repository) and setting the Axis2 configuration file location(AXIS2_HOME/conf/axis2.xml) for you. With this you can be relieved from setting all the above Axis2 specific parameters.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="b1eace52-667b-40e5-95e0-ae81750ce694"><ac:plain-text-body><![CDATA[ Usage : axis2.{sh.bat} [-options] class [args...]

]]></ac:plain-text-body></ac:structured-macro>

axis2server.{sh|bat}

This script will start a standalone Axis2 server using the AXIS2_HOME/repository as the Axis2 repository and the AXIS2_HOME/conf/axis2.xml as the Axis2 configuration file. This will start all the transport listeners listed in the AXIS2_HOME/conf/axis2.xml.For example, if you want to deploy a service using a standalone Axis2 server,then copy your service archive to the AXIS2_HOME/repository/services directory. Next, go to the "Transport Ins" section of the AXIS2_HOME/conf/axis2.xml and configure the transport receivers (simpleHttpServer in port 8080 is listed by default). Then invoke this script.

wsdl2java.{bat|sh}

This script generates Java code according to a given WSDL file to handle Web service invocations (client-side stubs). This script also has the ability to generate web service skeletons according to the given WSDL.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="453335ef-82b7-439f-8600-bfe7615b6187"><ac:plain-text-body><![CDATA[ Usage: wsdl2java.{sh|bat} [OPTION]... -uri <Location of WSDL>
]]></ac:plain-text-body></ac:structured-macro>
e.g., wsdl2java.sh -uri ../wsdl/Axis2Sample.wsdl
A more detailed reference about this script can be found here

java2wsdl.{bat|sh}

This script generates the appropriate WSDL file for a given Java class.
<ac:structured-macro ac:name="unmigrated-wiki-markup" ac:schema-version="1" ac:macro-id="32f22129-7ddc-42a9-8fc0-b5a55100cc81"><ac:plain-text-body><![CDATA[ Usage: Java2WSDL.{sh|bat} [OPTION]... -cn <fully qualified class name>
]]></ac:plain-text-body></ac:structured-macro>
e.g., Java2WSDL.sh -cn ../samples/test/searchTool.Search
A more detailed reference about this script can be found here

...