File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes Axis 2 resources Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 2 resources" Watch "Axis 2 resources" New topic

Axis 2 resources

robin harvey

Joined: Mar 15, 2007
Posts: 1

I am struggling to figure out how to bundle supporting files (xml configs, xsl stylesheets etc.) in my .aar archives. What do I have to do to be able to reference one of these files from code? Currently, I'm bundling these files in the META-INF subdir of the .aar, but this doesn't work. For example, if I try to invoke an XSL transform using a stylesheet in the META-INF subdir of the archive, I get an error saying that the given stylesheet is not found in $CATALINA_HOME.

I know I could hard-code the path to the files, but I'd much rather that each service were self-contained, without platform dependencies.

Many thanks,
I agree. Here's the link:
subject: Axis 2 resources
jQuery in Action, 3rd edition