Skip to main content

Deploy Apache Axis with Tomcat server


What is Apache Axis2?
It is a Web Services / SOAP / WSDL engine, the successor to the widely used Apache Axis SOAP stack. There are two implementations of the Apache Axis2 Web services engine - Apache Axis2/Java and Apache Axis2/C

Requirements:
  1. To Deploy Axis you need to have Apache Tomcat installed. you can download it from http://tomcat.apache.org/
  2. Download Axis binary from http://axis.apache.org/axis2/java/core/download.cgi
Steps:
  1. Unzip the download bin folder and go to [yourdriver:\axis\axis_version\webapps] eg., C:\apache-tomcat-6.0.35\webapps
  2. Take the 'axis' folder copy and paste it in [yourdriver:\Tomcat\webapps] as in Figure#1

Pasting axis folder under webapps in Tomcat

3. Start Tomcat from yourdriver:\Tomcat\bin and click double click on startup.bateg., C:\apache-tomcat-6.0.35\bin

4. Type in your browser the following: http://localhost:8080/axis2/
if you find a welcoming page to Apache_Axis then Apache_Axis run successfully. Figure#2

welcoming page to Apache_Axis
5. You can go http://localhost:8080/axis2/ and choose validate if you got "Axis2 Happiness Page"
then you deployed axis successfully.
6. The deployment will create a new file with the deployment content under C:\apache-tomcat-6.0.35\webapp Figure#3
New Axis folder has been created after your deployment



Note: you can download 'Apache-Axis war' file directly from http://axis.apache.org/axis2/java/core/download.cgi and unzip the downloaded file then copy 'axis.war' and put it under yourdriver:\Tomcat\webapps eg,. C:\apache-tomcat-6.0.35\webapp. After that ope your browser and type http://localhost:8080/ then from 'Tomcat Manager' scroll down to Deployand from 'WAR file to deploy' browse your 'axis.war' that you put in C:\apache-tomcat-6.0.35\webapp and click Deply.



Comments

Popular posts from this blog

Retrieve Data from Database and Compare it with user input using Java

In this Lesson we will create a form page " form.jsp " that takes the user email. After that we will check the user existence in our DB. If the user email stored in the DB, a welcoming page will be opened to him/her. If the user is a new user then a message will be displayed that tells him/her this email is not stored in our DB. Note: I use access 2013 database and Eclipse Juno     Basic step, Create a new project: Open Eclipse then click on File > New > Other > Web > Dynamic Web Project. First, Load the DB class: In this step we will connect with database so we will gather all its code in a java class named " DBConnection.java " under a package called " code ". Expand your project then right click on java resources > New > Package . After-that Give a name for your package ex, code   Right click on your created new package that called code > New > Class.   After-that Give a name for your Class ex, DBConnection.  

An attempt was made to insert a node where it is not permitted

Do you face this Error while you are writing code to generate xml file from java? Exception in thread "main" org.w3c.dom.DOMException : HIERARCHY_REQUEST_ERR: An attempt was made to insert a node where it is not permitted.        at com.sun.org.apache.xerces.internal.dom.CoreDocumentImpl.insertBefore(Unknown Source)        at com.sun.org.apache.xerces.internal.dom.NodeImpl.appendChild(Unknown Source)        at generatexml.WriteXMLFile.main( WriteXMLFile.java:30 ) Well the answer is: Don't insert the node where it isn't permitted. Change your generated directory file path from 'C' to other directory ex, D or to any directory you have. Make sure the ‘appendChild’ is referring to the right element. Don’t appending twice, only make it once. Ex, //Writetoxml.java   Element rootElement = doc . createElement ( " Company " );   doc . appendChild ( rootElement );                Element subElement = doc . cre

Do you want to know about your computer in one window screen?

System Toolbox (Sys Toolbox) If you want to know information about your computer from processor, drivers, motherboard, memory, operating system,...and more, you can depend on this software. Sys Toolbox (see screen shoot from the software) provides a software and hardware information for windows operating system. It is a simple software that you can use it to know about your PC. To run the software, you need to: Extract the zipped software.  After that, right click on the software icon and choose "Run as administrator". Finally, you will find a pop up screen telling you information about you PC. To go to the software site: http://sys-toolbox-pro.soft112.com/ To Download the software: Download