File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes Axis2 aar file structure question 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 "Axis2 aar file structure question" Watch "Axis2 aar file structure question" New topic
Author

Axis2 aar file structure question

Alan Mangroo
Greenhorn

Joined: Aug 27, 2007
Posts: 7
Hi All,

I trying to create an Axis2 arr file that has 2 package heirachies. However my service class is throwing a class not found exception when it tries to use classes in the utils package.

Is it possible to do this in Axis? Any advice is very welcome.

Below is an example of the structure I am trying to create (utils and org are both top level packages)...

|- SampleService
|-- META-INF
|--- services.xml
|-- utils
|---MyUtils.class
|-- org
|---- apache
|---- axis2
|----- axis2userguide
|------ SampleService.class


Many thanks
Alan
Alan Mangroo
Greenhorn

Joined: Aug 27, 2007
Posts: 7
Problem solved.
The aar file does exactly what I want. There was an issue with some other code which fooled us.

Sorry for wasting your time.
Alan
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis2 aar file structure question
 
Similar Threads
New to Axis2 - Unable to see the service
Buildpath problem with Eclipse
Axis2-1.4 help
Why does new File("MyFile.txt") in a web-app generate the file in context root?
NoClassDefFound-wrong name