3/21/2018
Posted by 
Installing Axis2 Web Services Core 1.1Web Services Interview Questions

Axis2 Distributions Axis2 is distributed in several convenient distribution packages and can be installed either as a standalone server or as part of a J2EE compliant servlet container. Axis2 is distributed under the Apache License, version 2.0. This Installation Guide will mainly focus on running Apache Axis2 using the Standard Binary Distribution. Distribution packages of the Apache Axis2 1.7.7 version (latest).

The Web service tools provided with this product support the following specifications when creating Apache Axis2 Web services and clients: SOAP 1.1 and 1.2.

Distribution packages of all versions of Apache Axis2. The distribution packages provided are as follows. System Requirements Java Development Kit (JDK) 1.5 or later (For instructions on setting up the JDK in different operating systems, visit ) Disk Approximately 11 MB separately for standard binary distribution Operating system Tested on Windows XP, Linux, Mac OS X, Fedora core, Ubuntu, Gentoo Build Tool- To run samples and to build WAR files from Axis2 binary distribution. At&t Zte Z431 User Manual on this page. Version 1.6.5 or higher (). Build Tool- Required only for building Axis2 from Source Distribution 2.0.7 or higher in Maven 2.x series ().

Please download Maven 2.x version. Axis2 does not support Maven 1.x anymore. Make sure that the above prerequisites are available for the Axis2 installation. Download and Install the Apache Axis2 Binary Distribution and install a Java Development Kit (JDK) release (version 1.5 or later).

Install the JDK according to the instructions included with the release. Set an environment variable JAVA_HOME to the pathname of the directory into which you installed the JDK release. Download and unpack the into a convenient location so that the distribution resides in its own directory.

Set an environment variable AXIS2_HOME to the pathname of the extracted directory of Axis2 (Eg: /opt/axis2-1.7.7). Linux users can alternatively run the setenv.sh file available in the AXIS2_HOME/bin directory to set the AXIS2_HOME environment variable to the Axis2 classpath.

Building the Axis2 Web Application (axis2.war) Using Standard Binary Distribution and install Apache Ant (version 1.6.5 or later). Install Apache Ant according to the instructions included with the Ant release. Locate the Ant build file (build.xml) inside the webapp directory, which resides in your Axis2 home directory (i.e:- $AXIS_HOME/webapp)'. Run the Ant build by executing 'ant create.war' inside the AXIS2_HOME/webapps folder. You can find the generated axis2.war inside the AXIS2_HOME/dist directory. All the services and modules that are present in the AXIS2_HOME/repository will be packed into the created axis2.war together with the Axis2 configuration found at AXIS2_HOME/conf/axis2.xml. Read to find out how to deploy the Axis2 Web application in a servlet container.