Installing Axis


Installing an Axis server is relatively simple. In the servlet engine's directory structure is a webapps directory. This directory contains the various Web applications that are deployed. The Axis distribution includes a webapps directory as well, and contains a directory named axis . Copy the axis directory into the servlet engine's webapps directory. In this new axis directory should be a WEB-INF/lib directory. There, you should place all the JAR files Axis will need to run. You should already see axis.jar . Currently, Axis will need one only additional JAR file: xerces.jar (available from the Apache Xerces distribution at http://xml.apache.org) or any other JAXP-compliant parser. Copy the parser's JAR file into the WEB-INF/lib directory.

When services are deployed, the Java class files should be placed in the axis/WEB-INF/ classes directory; or if there are JAR files, they should be placed in the axis/WEB-INF/lib directory. If you plan to use the JWS graphics/book.gif feature of Axis (see the "Simple Web Services" section), you will also need to make sure that the Java tools.jar file is either in the axis/ WEB-INF/lib directory or in your servlet engine's classpath.

Installing the client is simply a matter of making sure the axis.jar and xerces.jar files are in your classpath.



Building Web Services with Java. Making Sense of XML, SOAP, WSDL and UDDI
Building Web Services with Java: Making Sense of XML, SOAP, WSDL and UDDI
ISBN: B000H2MZZY
EAN: N/A
Year: 2001
Pages: 130

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net