|
I stumbled across the same thing. You need to copy
all .class files your web service will need to
$TOMCAT_HOME/webapps/axis/WEB-INF/classes with the appropriate package hierarchy
of directories below that and any .jar files needed to
$TOMCAT_HOME/webapps/axis/WEB-INF/lib. The user's guide doesn't mention
this.
If you're using Ant, create a deploy target that
copies the files to where they need to be and runs AdminClient. Here's an
example target with some of the properties it uses.
<property
environment="env"/>
<property name="build.dir" value="classes"/> <property name="package" value="com.ociweb.cardealer"/> <property name="package.dir" value="com/ociweb/cardealer"/> <property name="src.dir" value="src"/> <property name="service.name" value="CarQuote"/> <property name="server.path" value="axis/servlet/AxisServlet/${service.name}"/> <target name="deploy"
depends="compile"
description="deploys the service to Tomcat"> <copy todir="${env.TOMCAT_HOME}/webapps/axis/WEB-INF/classes" > <fileset dir="${build.dir}"> <exclude name="**/*Client.class"/> </fileset> </copy> <echo>Tomcat must be running!</echo> <java classname="org.apache.axis.client.AdminClient" classpathref="classpath" fork="yes"> <arg line="${src.dir}/${package.dir}/deploy.wsdd"/> </java> <echo>See WSDL at http://${server.host}:${server.port}/${server.path}?wsdl</echo> </target>
|
- Don't Know How to Use Custom Deployment Li Bing
- beanMapping and typeMapping placement in WSDD Mark Volkmann
- beanMapping and typeMapping placement in WSDD Mark Volkmann
- Re: Don't Know How to Use Custom Deployment Li Bing
- Where the Hell is the greetingService.log? Li Bing
- Re: Where the Hell is the greetingService.log? Mark Volkmann
