Hi, I want to deploy the AXIS-Webservice via ANT. Here I have an error:
deploy: [echo] running: java org.apache.axis.client.AdminClient -lhttp://localhost:8080/IKWSHandler/ser vices/AdminService conf/deployment/banf-ws-deployment.wsdd [java] Usage: AdminClient [Options] [list | <deployment-descriptor-files>] [java] Processes a set of administration commands. [java] The following Options are available: [java] -l<url> sets the AxisServlet URL [java] -h<hostName sets the AxisServlet host [java] -p<portNumber> sets the AxisServlet port [java] -s<servletPath> sets the path to the AxisServlet [java] -f<fileName> specifies that a simple file protocol should be used [java] -u<username> sets the username [java] -w<password> sets the password [java] -d sets the debug flag (for instance, -ddd would set it to 3) [java] -t<name> sets the transport chain touse [java] Commands: [java] list will list the currently deployed services [java] quit will send a quit message to SimpleAxisServer [java] passwd value changes the admin password [java] Deployment Descriptor files: [java] <deployment-descriptor-files> deploys or undeploys Axis components and [java] web services described in these files [java] If -l or -h -p -s are not set, the AdminClient will invoke [java] http://localhost:8080/axis/servlet/AxisServlet BUILD FAILED file:d:/projekte/EWS%20UT/Modules/WSClientHandler/build.xml:89: Java returned: 1 Total time: 1 second But when I run it manually, everythink is going fine: [EMAIL PROTECTED] /cygdrive/d/projekte/EWS UT/Modules/WSClientHandler <inClient -lhttp://localhost:8080/IKWSHandler/services/AdminService conf/deployment/banf-ws-deploy> Processing file conf/deployment/banf-ws-deployment.wsdd <Admin>Done processing</Admin> My buildxml: <target name="deploy" depends="war"> <!-- copy the webapp --> <copy file="${build.war.dir}/${name}.war" todir="${server.deploy}" /> <!-- deploy the webservice --> <echo message="running: java org.apache.axis.client.AdminClient -l${server.axis.deployservice} ${conf.deployment.dir}/banf-ws-deployment.wsdd"/> <java classname="org.apache.axis.client.AdminClient" failonerror="true" fork="true" > <arg value="-l${server.axis.deployservice} ${conf.deployment.dir}/banf-ws-deployment.wsdd"/> <classpath> <fileset dir="${dist.dir}"> <include name="*.jar"/> </fileset> <fileset dir="${lib.dir}"> <include name="*.jar"/> </fileset> </classpath> </java> </target> Any ideas, whats wrong? Juraj