If you configure the class path correctly, Axis2 should find your jar. One way you could do is to put the jar into the WEB-INF/lib, in that way you do not need to worry about putting the jar into the .aar
Thanks, Deepal > > > > > > > > I am deploying a web service using Tomcat 6.0 and Axis2 1.5. > > > > My web service is using an application which is installed on the same > machine as the Tomcat. The calls to the application are made through a > java API which is exported in a JAR file which is part of the > application installation. > > > > When I create the web service .aar (I am using Eclipse) I can add the > external jar file to the .aar, which creates a dependency between the > web service .aar and the external jar, i.e. every time I make a change > to the java API I have to rebuild the web service .aar. > > > > Since the java API jar is on the same machine as the web service, I > want to configure the web service's classpath (or axis2's classpath?) > so I won't have to include the java API jar file as part of the web > service .aar file, but the axis2 engine would be able to find the java > API jar based on the configured classpath. > > > > > > > > Thank you very much for any advice. > -- Thank you! http://blogs.deepal.org http://deepal.org
