Win a copy of Java EE 8 High Performance this week in the Java/Jakarta EE forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Create a web service jar under axis 1  RSS feed

Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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)

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!