blob: 9991fee13467074e95cccd95008933d99a57c077 [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<META http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../skin/tigris.css" type="text/css">
<link rel="stylesheet" href="../skin/mysite.css" type="text/css">
<link rel="stylesheet" href="../skin/site.css" type="text/css">
<link media="print" rel="stylesheet" href="../skin/print.css" type="text/css">
<title>WebServices - Axis</title>
</head>
<body bgcolor="white" class="composite">
<div id="banner">
<table width="100%" cellpadding="0" cellspacing="0" summary="banner" border="0">
<tbody>
<tr>
<td align="left">
<div class="groupLogo">
<a href="http://ws.apache.org/"><img border="0" class="logoImage" alt="The Apache WebServices Project" src="../images/project-logo.png"></a>
</div>
</td><td nowrap="1" width="100%" align="left">
<div class="projectTitleImg">
<br>
<a href=""><img border="0" class="logoImage" alt="Web Services - Axis" src="../images/wsaxis.png"></a>
</div>
</td><td align="right">
<div class="projectLogo">
<a href="http://ws.apache.org/axis/"><img border="0" class="logoImage" alt="The Apache Axis Project" src="../images/axis3.jpg"></a>
</div>
</td>
</tr>
</tbody>
</table>
</div>
<table width="100%" cellpadding="0" cellspacing="0" border="0" summary="nav" id="breadcrumbs">
<tbody>
<tr class="status">
<td width="100%">&nbsp;&nbsp;&nbsp;&nbsp;<a href="http://www.apache.org/">Apache</a> | <a href="http://ws.apache.org/">Web Services</a> | <a href="http://ws.apache.org/axis/">Axis</a></td><td nowrap="1" align="right">
<form method="get" action="http://www.google.com/search" target="_blank">Search <input type="hidden" name="sitesearch" value="ws.apache.org"><input type="text" id="query" name="q" size="10"><img class="spacer" src="skin/images/spacer.gif" alt="" width="5" height="1"><input type="submit" value="Go" name="Search">
</form>
</td>
</tr>
</tbody>
</table>
<table id="main" width="100%" cellpadding="8" cellspacing="0" summary="" border="0">
<tbody>
<tr valign="top">
<td id="leftcol">
<div id="navcolumn">
<div class="menuBar">
<div class="menu">
<span class="menuLabel">Axis</span>
<div class="menuItem">
<a href="../index.html">Introduction</a>
</div>
<div class="menuItem">
<a href="../news.html">News</a>
</div>
<div class="menuItem">
<a href="http://wiki.apache.org/ws/FrontPage/Axis">FAQ/Wiki</a>
</div>
<div class="menu">
<span class="menuLabel">Get Involved</span>
<div class="menuItem">
<a href="../overview.html">Overview</a>
</div>
<div class="menuItem">
<a href="../cvs.html">SVN Repository</a>
</div>
<div class="menuItem">
<a href="../mail.html">Mailing Lists</a>
</div>
<div class="menuItem">
<a href="../ref.html">Reference Library</a>
</div>
<div class="menuItem">
<a href="../bugs.html">Bugs</a>
</div>
<div class="menuItem">
<a href="../howtobuild.html">HowToBuildSite</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Axis (Java)</span>
<div class="menuItem">
<a href="../java/index.html">Documentation</a>
</div>
<div class="menuItem">
<a href="../java/releases.html">Releases</a>
</div>
<div class="menuItem">
<a href="../java/install.html">Installation</a>
</div>
<div class="menuItem">
<a href="../java/user-guide.html">User's Guide</a>
</div>
<div class="menuItem">
<a href="../java/developers-guide.html">Developer's Guide</a>
</div>
<div class="menuItem">
<a href="../java/integration-guide.html">Integration Guide</a>
</div>
<div class="menuItem">
<a href="../java/architecture-guide.html">Architecture Guide</a>
</div>
<div class="menuItem">
<a href="../java/reference.html">Reference Guide</a>
</div>
<div class="menuItem">
<a href="../java/reading.html">Reading Guide</a>
</div>
<div class="menuItem">
<a href="../java/requirements.html">Requirements</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Axis C++</span>
<div class="menuItem">
<a href="http://ws.apache.org/axis/cpp/index.html">Home</a>
</div>
<div class="menuItem">
<a href="http://ws.apache.org/axis/cpp/documentation.html">Documentation</a>
</div>
<div class="menuItem">
<a href="http://ws.apache.org/axis/cpp/download.html">Download</a>
</div>
<div class="menuItem">
<a href="http://wiki.apache.org/ws/FrontPage/AxisCPP">Wiki Pages</a>
</div>
<div class="menuItem">
<a href="http://ws.apache.org/axis/cpp/who.html">Who we are</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Downloads</span>
<div class="menuItem">
<a href="../interim.html">Interim Drops</a>
</div>
<div class="menuItem">
<a href="http://svn.apache.org/viewcvs.cgi/webservices/axis/trunk/">Source Code</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Translation</span>
<div class="menuItem">
<a href="http://ws.apache.org/axis/ja/index.html">Japanese</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Related Projects</span>
<div class="menuItem">
<a href="http://ws.apache.org/wsif/">WSIF</a>
</div>
<div class="menuItem">
<a href="http://ws.apache.org/juddi/">jUDDI</a>
</div>
<div class="menuItem">
<a href="http://wsdl4j.sourceforge.net">WSDL4J</a>
</div>
<div class="menuItem">
<a href="http://www.uddi4j.org/">UDDI4J</a>
</div>
</div>
<div class="menu">
<span class="menuLabel">Misc</span>
<div class="menuItem">
<a href="../who.html">Who we are</a>
</div>
<div class="menuItem">
<a href="../contact.html">Contact</a>
</div>
<div class="menuItem">
<a href="../legal.html">Legal</a>
</div>
<div class="menuItem">
<a href="../docs.html">Notes/Docs</a>
</div>
</div>
</div>
</div>
</div>
</td><td>
<div id="bodycol">
<div class="app">
<div class="h3">
<a name="GuideToBuildingAxis"></a>
<div class="h3">
<h3>Guide to building Axis</h3>
</div>
<p>
<i>1.2 Version</i>
<br>
<i>Feedback: <a href="mailto:axis-dev@ws.apache.org">axis-dev@ws.apache.org</a></i>
</p>
<a name="TableOfContents"></a>
<div class="h4">
<h4>Table of Contents</h4>
</div>
<ul>
<li>
<a href="#Introduction">Introduction</a>
</li>
<li>
<a href="#RecommendedEnvironment">Recommended Environment</a>
</li>
<li>
<a href="#BuildingWithoutAnyOptionalComponents">Building without Any Optional Components</a>
</li>
<li>
<a href="#BuildingWithServlets">Building with Servlets</a>
</li>
<li>
<a href="#BuildingWithJSSE">Building with JSSE</a>
</li>
<li>
<a href="#BuildingWithJIMI">Building with JIMI</a>
</li>
<li>
<a href="#BuildingWithCastor">Building with Castor</a>
</li>
<li>
<a href="#BuildingWithHTTPClient">Building with HTTP Client</a>
</li>
<li>
<a href="#BuildingWithXMLSecurity">Building with XML Security</a>
</li>
<li>
<a href="#BuildingWithJMS">Building with JMS</a>
</li>
<li>
<a href="#MiscellaneousInformation">Miscellaneous Information</a>
</li>
</ul>
<a name="Introduction"></a>
<div class="h4">
<h4>Introduction</h4>
</div>
<p>This guides you through the process of building Axis. It starts off with the process of building axis with just the bare required jars. It goes on to describe the process for building with other optional components. It will also have a recommended version of the component to use.</p>
<a name="RecommendedEnvironment"></a>
<div class="h4">
<h4>Recommended Environment</h4>
</div>
<ul>
<li>JDK Version - 1.3.1+</li>
<li>Ant Version - 1.5.3 or 1.6</li>
</ul>
<a name="BuildingWithoutAnyOptionalComponents"></a>
<div class="h4">
<h4>Building without Any Optional Components</h4>
</div>
<ol>
<li>Download the axis project from SVN. (http://ws.apache.org/axis/cvs.html)</li>
<li>Download activation.jar to $(axis.home)/java/lib.<br>
You can download this from <a href="http://java.sun.com/products/javabeans/glasgow/jaf.html">http://java.sun.com/products/javabeans/glasgow/jaf.html</a>
<br>
Recommended version : 1.0.2</li>
<li>Download mailapi.jar to $(axis.home)/java/lib.<br>
You can download this from <a href="http://java.sun.com/products/javamail/">http://java.sun.com/products/javamail/</a>
<br>
Recommended version : 1.3</li>
<li>You could also download j2ee.jar which has activation, mailapi , servlets and bunch of others</li>
<li>Download xercesImpl.jar and xmlApis.jar to $(axis.home)/java/lib. Theoretically you won't need it since this is already present in your ant's lib directory. But it is recommended to keep this in $(axis.home)/java/lib as well.<br>
You can download this from <a href="http://xml.apache.org/xerces-j/">http://xml.apache.org/xerces-j/</a> (or copy it from your ant's lib directory.)<br>
Recommended version : 2.2.1</li>
<li>You should be able to do able to run "ant compile" now from $(axis.home)/java/.</li>
<li>To run "ant all-tests" you will need to add junit.jar to your ant installations lib directory. It is not sufficient that you keep it in $(axis.home)/java/lib. If not in ant lib it conks out saying it cannot create task/type of type: junit.<br>
You can download this from <a href="http://www.junit.org/index.htm">http://www.junit.org/index.htm</a>
<br>
Recommended version : 3.8 +</li>
</ol>
<a name="BuildingWithServlets"></a>
<div class="h4">
<h4>Building with Servlets</h4>
</div>
<p>This is needed to build the server-side components of Axis.</p>
<ol>
<li>Download required Class libraries(servlet.jar) to $(axis.home)/java/lib.<br>
You can download this from <a href="http://java.sun.com/products/servlet/">http://java.sun.com/products/servlet/</a>
<br>
Recommended version : 2.2 or 2.3</li>
</ol>
<a name="BuildingWithJSSE"></a>
<div class="h4">
<h4>Building with JSSE</h4>
</div>
<p>This is needed for https support.</p>
<ol>
<li>Download the required Class libraries(jsse.jar, jnet.jar,jcert.jar) to $(axis.home)/java/lib.<br>
You can download this from <a href="http://java.sun.com/products/jsse/">http://java.sun.com/products/jsse/</a>
<br>
Recommended version : 1.0.3</li>
</ol>
<a name="BuildingWithJIMI"></a>
<div class="h4">
<h4>Building with JIMI</h4>
</div>
<ol>
<li>Download the required Class libraries( JimiProClasses.zip) to $(axis.home)/java/lib.<br>
You can download this from <a href="http://java.sun.com/products/jimi/">http://java.sun.com/products/jimi/</a>
</li>
</ol>
<a name="BuildingWithCastor"></a>
<div class="h4">
<h4>Building with Castor</h4>
</div>
<p>This is needed for the Castor serializer and deserializer.</p>
<ol>
<li>Download the required Class libraries(castor-&lt;version-no&gt;-xml.jar) to $(axis.home)/java/lib.<br>
You can download this from <a href="http://castor.exolab.org">http://castor.exolab.org</a>
<br>
Recommended version : 0.9.4.1</li>
</ol>
<a name="BuildingWithHTTPClient"></a>
<div class="h4">
<h4>Building with HTTP Client</h4>
</div>
<p>Httpclient is a better library for making http connections than the Java runtime.</p>
<ol>
<li>Download the required Class libraries(commons-httpclient.jar) to $(axis.home)/java/lib.<br>
You can download this from <a href="http://jakarta.apache.org/commons/httpclient/">http://jakarta.apache.org/commons/httpclient/</a>
<br>
Recommended version : 2.0-alpha2</li>
</ol>
<a name="BuildingWithXMLSecurity"></a>
<div class="h4">
<h4>Building with XML Security</h4>
</div>
<p>This is needed for Axis to support signed and encrypted messages (as opposed to unsigned messages over HTTPS, which is different)</p>
<ol>
<li>Download the required Class libraries( xmlsec.jar) to $(axis.home)/java/lib.<br>
You can download this from <a href="http://xml.apache.org/security/">http://xml.apache.org/security/</a>
<br>
Recommended version : 1.0.4</li>
<li>To run "ant all-tests" you will need to add xalan.jar<br>
You can download this from <a href="http://xml.apache.org/xalan-j/">http://xml.apache.org/xalan-j/</a>
<br>
Recommended version : 2.4.0</li>
</ol>
<a name="BuildingWithJMS"></a>
<div class="h4">
<h4>Building with JMS</h4>
</div>
<p>This is needed for Axis to take advantage of synch/asynch messaging of JMS.</p>
<ol>
<li>Download the required Class libraries (jms.jar) to $(axis.home)/java/lib.<br>
You can download this from <a href="http://java.sun.com/products/jms/">http://java.sun.com/products/jms/</a>
<br>
Recommended Version : 1.0.2</li>
</ol>
<a name="MiscellaneousInformation"></a>
<div class="h4">
<h4>Miscellaneous Information</h4>
</div>
<ul>
<li>You can also compile with <a href="http://www-124.ibm.com/developerworks/oss/jikes/">Jikes</a> for bonus build speeds</li>
<li>If you want a redistributable you know works with Java 1.3, build on Java 1.3.</li>
<li>If you have problems installing or using Ant, start on the <a href="http://jakarta.apache.org/ant/problems.html">Ant problems page</a>
</li>
<li>For developing in Axis please refer to the <a href="developers-guide.html">Developer's guide</a>
</li>
</ul>
<div id="pdf" align="right">
<a href="building-axis.pdf"><img alt="PDF" src="../skin/images/pdfdoc.gif" class="skin"><br>
PDF</a>
</div>
</div>
</div>
</div>
</td>
</tr>
</tbody>
</table>
<div id="footer">
<table summary="footer" cellspacing="0" cellpadding="4" width="100%" border="0">
<tbody>
<tr>
<td colspan="2">
<div align="center">
<div class="copyright">
Copyright &copy; 2000-2005&nbsp;The Apache Software Foundation. All rights reserved.
</div>
</div>
</td>
</tr>
<tr>
<td align="left"></td><td align="right">
<div align="right">
<div class="credit"></div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</body>
</html>