Meaningless Drivel is fun!
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
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

Create a web service jar under axis 1

David Brossard
Ranch Hand

Joined: Jun 03, 2004
Posts: 109

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)


No matter what they say in Ohio, we're still first in flight!
I agree. Here's the link:
subject: Create a web service jar under axis 1
It's not a secret anymore!