This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis 2 resources" Watch "Axis 2 resources" New topic
Author

Axis 2 resources

robin harvey
Greenhorn

Joined: Mar 15, 2007
Posts: 1
Hi,

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,
--Robin
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis 2 resources
 
Similar Threads
Axis2 Web service - path recognition difference while running using eclipse and deploying as .aar
Existing java class as a web service using axis2
taglib-directive tagdir and uri
org.apache.axis2.deployment.DeploymentException: The following error occurred during schema generati
Connection Pooling with Axis2