aspose file tools*
The moose likes Web Services and the fly likes Create a web service jar under axis 1 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Create a web service jar under axis 1" Watch "Create a web service jar under axis 1" New topic
Author

Create a web service jar under axis 1

David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109
Hi,

When creating a web service under axis1, the usual way is to create a jar containing the application classes and dropping it into the axis/WEB-INF/lib folder. One also needs to add all the dependencies jars (e.g. wss4j, hibernate...) to the very same folder. Once that is done and the service has been deployed (through for instance ant's axis-admin task), the server can be restarted and the service used.

However I would like to put all my dependencies within my app's jar. I tried putting them in the jar root as well as in a lib folder in the jar root. It simply doesn't work. Can I not include jars within jars? Would I need to unzip the dependencies' jars into my app's jar? Or simply drop the jars into the lib folder of Axis (which what I wanted to avoid in the first place)

Thanks.


No matter what they say in Ohio, we're still first in flight!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Create a web service jar under axis 1
 
Similar Threads
Axis 1.1 and Tomcat 4.1 - NoClassDefFoundError problem
NoClassDefFoundError Problem
ejb-jar / utility jar dependencies
Axis2 vs. Axis1
Soap over JMS using AXIS