AKAIK you can't do this kind of stuff with a jar. 

The jws files are for very simple services (it might not even support 
packages, must be default package, not so shure about this, seen it on the 
list). 

If you have a jar file and want to deploy it as a service, you must first 
write a deployMyApp.wsdd and undeployMyApp.wsdd files and call them 
accordingly to the manual. 

You also have to put the jar file into the <axis webbapp dir>/WEB-INF/lib 
directory in order for axis to find the service classes. 

For example in tomcat you should place the myserv.jar in:
<tomcat>/webapps/axis/WEB-INF/lib. 

For more info about how you can deploy your service check the axis manual: 
http://xml.apache.org/axis
Check the User Guide --> Publishing web services with axis 

Hope it helps 
dovle 
> How can I add a jar file to Axis and make it a web service?  Everything
> I've seen shows how to take a .java file and turn it into a .jws file then
> dropping it in the webapp directory. Is there a way to do this with a jar
> file?

Reply via email to