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 Axis, deploy webservice without  starting server Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "Axis, deploy webservice without  starting server" Watch "Axis, deploy webservice without  starting server" New topic
Author

Axis, deploy webservice without starting server

yc lim
Greenhorn

Joined: Jul 26, 2004
Posts: 14
Hi all,
im wondering if i can deploy Axis webservice using Ant or anything without starting the tomcat. It seems that i need to start up the server and run
java -cp %AXISCLASSPATH% org.apache.axis.client.AdminClient
-lhttp://localhost:8080/axis/services/AdminService deploy.wsdd
to deploy my webservice. im finding ways that i can compile and package everything using ant. any hints are greatly appreciated. thanks all!
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
may be you can write an ant script that does below :

a. add an entry for each of your newly created web service into your AXIS Web Applications server-config.wsdd file

b. using tomcat provided ant tasks to restart your tomcat server. i believe there are free available ant tasks scripts on NET for this.


RR Kumaran
SCJP 1.4
somkiat puisungnoen
Ranch Hand

Joined: Jul 04, 2003
Posts: 1312
Ant script to manage Tomcat



SCJA,SCJP,SCWCD,SCBCD,SCEA I
Java Developer, Thailand
yc lim
Greenhorn

Joined: Jul 26, 2004
Posts: 14
Thanks for the help . i manage to find the how to deploy the webservice. By using the Admin class they provide

 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Axis, deploy webservice without starting server