File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Axis, deploy webservice without starting server

 
yc lim
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 548
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
somkiat puisungnoen
Ranch Hand
Posts: 1312
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Ant script to manage Tomcat

 
yc lim
Greenhorn
Posts: 14
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for the help . i manage to find the how to deploy the webservice. By using the Admin class they provide

 
Consider Paul's rocket mass heater.
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic