I have a webservice which is lying in one package in one application. It is using applications other classes which are lying in other package. Now I have created webservice by using only the package in which the webservice classes are stored.
After I have created the webservice when i call it from client it can not access the application (in which webservice created) classes used in Webservice untill I create a jar file of application's other classes and put it in AXIS folder(As I am using AXIS for Webservice deployment and access). I tried to put the applicatin in classpath of the AXIS but it does not work.
Can Any one help me in fixing this problem as I dont want to keep 2 copies of the application one in AXIS and other in Tomcat/webapps/.
You could move the Axis servlet, and the jar files it needs, into your web app, instead of keeping it in a web app all by itself. That way you have only a single web app, and no need to duplicate classes.