Failed while installing Axix2 Web Services Core 1.1

Asked By 0 points N/A Posted on -
qa-featured

Hello,

I am using axis2 in Eclipse and trying to implement web services but getting some installation issues. I can’t continue my work due to this weird error message. I have spent enough time to resolve this matter but can’t solve this issue. Please provide a best solution step by step. Thanks for any help.

Installing Axix2 Web Services Core

Error

Failed while installing Axix2 Web Services Core 1.1.

Reason:

Failed while installing Axix2 Web Services Core 1.1.

SHARE
Answered By 590495 points N/A #176024

Failed while installing Axix2 Web Services Core 1.1

qa-featured

I think you are only doing it incorrectly that’s why you have a failed installation. Try following this procedure. You need to download and install the Apache Axis2 Binary Distribution. Visit Java SE Downloads then download and install the latest version of Java Development Kit [JDK]. Once installed, create an environment variable called JAVA_HOME and direct the pathname to the location of the JDK installation folder.

Visit Axis2 Standard Binary Distribution then download and extract it into a suitable location. Create another environment variable called AXIS2_HOME then point it to the folder of the unpacked Axis2 like /opt/axis2-1.6.2 for example. After that, you need to start Axis2 standalone server. You can do it by running the following commands:

  • %AXIS2_HOME%binaxis2server.bat – for Microsoft Windows
  • $AXIS2_HOME/bin/axis2server.sh – for Unix

After that, the default web services that are included in Axis2 will be available by going to “http://localhost:8080/axis2/services/”. Next, you need to create the Axis2 web application or axis2.war. Visit Apache Ant Binary Distributions then download and install the latest version of Apache Ant. Once installed, find the file build.xml inside the webapp folder.

Start the Ant build by running the command “ant create.war” inside AXIS2_HOME/webapps directory. The generated axis2.war can be found in AXIS2_HOME/dist folder. For the list of scripts, go to number 4 of Convenient Axis2 Scripts.

Related Questions