In fact, it seems you also need to restart the web server, at leat I had to using latest tomcat server.
When you restart it, you will see the traces saying "redploying .. to ..." as it loads all the jars it finds.

I hope I don't encounter any trouble with a class requreing a specific order in my classpath, cos I don't think
Axis allows me to specify what order to oad them in.
Could be a problem given the 4 billion implementaitons of org.w3c.Document out there.



Alex Dovlecel wrote:

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