 |
Using Axis with Deployment Descriptors
We could use a deployment descriptor to deploy a service inside the axis webapp (where the JWS example ran) but just to do something a little more illustrative we'll put the deployment descriptor example in its own webapp. A webapp, for the uninitiated, is the basic Java web application unit, it has a directory structure that separates the classes and libraries into distinct locations from display elements. We can create a standalone SOAP service, in a standalone webapp, by putting our class in the classes directory and the libraries we depend on in the lib directory.
We begin by creating a stand-alone webapp file system hierarchy
hello/WEB-INF
web.xml
attachments/
classes/
HelloServer.class
lib/
axis.jar
jaxrpc.jar
saaj.jar
wsdl4j.jar
commons-logging.jar
log4j-1.2.4.jar
tt-bytecode.jar
|