try this (ant script): <java classname="org.apache.axis.utils.Admin" classpath="${axis.classpath}:${src.build}" dir="${CATALINA_BASE}/webapps/axis/WEB-INF" fork="true"> <arg line="server"/> <arg path="deploy.wsdd"/> </java>
I don't know if this requires axis to be restarted but at least it doesn't require it to be running when you deploy. alan -----Original Message----- From: Steve Pannier [mailto:[EMAIL PROTECTED] Sent: Thursday, June 19, 2003 2:26 PM To: [EMAIL PROTECTED] Subject: Programmatic deployment of services Up to this point I've been using the following manual steps to deploy my services into the Axis web app: 1) Make sure Tomcat is running. 2) Copy service class files into Axis web app classes directory. 3) Run Admin client to deploy the wsdd file. I now want to do this deployment programmatically (i.e. via the click of a mouse from a Java-based GUI). Questions: 1) Is there a recommended way of deploying a service from a Java program? 2) Can I do the deployment if my servlet container (Tomcat) is not running? 3) Does Admin client have the capability to deploy the service class files to the Axis web app? Or do I need to copy them in myself? 4) Will I be able to recognize success vs failure of the deployment? Regards. Steve Pannier