This guides you through the process of building Axis-MORA. It starts off with the process of building axismora with just the bare required jars. It will also have a recommended version of the component to use.
· JDK Version - 1.4.0+
· Ant Version - 1.5.1
2 Download the following jars.
Download axis1.1 distribution from the
http://ws.apache.org/axis/releases.html
from the lib folder to the <MORA_HOME>/lib
3
Download the
activation.jar.
You can download
this from
http://java.sun.com/products/javabeans/glasgow/jaf.html
6. Download the xpp3-1.1.3.2.jar.
7. Download
the servlet.jar.
You can download this from
http://java.sun.com/products/servlet/
Or you can get this jar from <tomcat_Home>\common \lib\servlet.jar
http://jakarta.apache.org/builds/jakarta-tomcat-4.0/release/v4.1.12/bin/jakarta-tomcat-4.1.12.zip
Recommended version: 2.2 or 2.
Keep all these jars in the <MORA_HOME>/lib/. Then you can start your Building journey on the axis-MORA.
To build you need to have ant1.5+ in your machine.
Copy the junit.jar to the ant lib
Make sure ant optional jar and axis-ant jar is also in your ant lib
To build you can use command "ant build-all" it will compile everything. it will create a build/webapps/axismora directory. you can copy the aixsmora directory tomcat in the tomcat. When you start the tomcat the axismora will be listening on http://<host>:<port>/axismora/servlet/AxisServlet.
To compile src only (without samples / tests) use ant compile
You can run functional tests with "ant functional-tests".
with the axismora runing on port 8080 you can run set of usage tests with ant -f usagetests.xml
Note
you must run the ant tasks while you are at the MORA_HOME.
Congratulation now you have axismora up and running. Please note that if you need to deploy your own service in axismora you should generates a wrapper for this service. To do this we have tool called WSDL2Ws with axismora. It accept wsdl file to generate the wrapper.(tool to do it with a java class will be comeing shortly.) To learn how to use it please have a look at the example3 at user guide.
· If you are new to this axis-mora please refer to the User guide.
· For developing in axis-mora please refer to the Developer guide
· If you have problems building or using Ant, start on the Ant problems page
· If you have any problem in building process please look at the FAQ
· if you want to test the axismora without tomcat you may use org.apache.axismora.server.SimpleAxisServer. (make sure to keep mora-config.wsdd file in the same directory as you start the server)