You can use an ant target to pack up a web service war file. I use the following ant target/s to deploy to Borland Enterprise Server 5.2 (running Axis 1.1) (inclusion of the web-borland.xml file is Borland specific)
<!-- ================================================================== * Target to generate the server-config.wsdd descriptor. ================================================================== --> <target name="war" description="Packages Web Service WAR file for deployment to BES." > <copy file="${classes.dir}/${server.jar}" todir="${axis.lib}" overwrite="true"/> <!-- Generate server-config.xml file --> <antcall target="gen-server-config"/> <echo message="Creating Web Service deployment WAR file..."/> <war destfile="myservice-server.war" webxml="web.xml"> <lib dir="${axis.lib}"> <exclude name="some-unwanted.jar"/> </lib> <webinf dir="."> <include name="server-config.wsdd"/> <include name="web-borland.xml"/> </webinf> </war> <echo message="Done."/> </target> <!-- ================================================================== * Target to generate the server-config.wsdd descriptor. ================================================================== --> <target name="gen-server-config" description="Generates the server-config.wsdd descriptor." > <echo message="Generating server-config.wsdd descriptor..."/> <java classname="org.apache.axis.utils.Admin" fork="yes"> <classpath refid="project.class.path"/> <arg value="server"/> <arg value="${src.root.dir}/${webservice.pkg.filepath}/myservice_deploy.wsdd"/> </java> <echo message="Done."/> </target> cheers, Nick. -----Original Message----- From: Harsh Nagpal [mailto:[EMAIL PROTECTED] Sent: Wednesday, 23 July 2003 4:15 PM To: [EMAIL PROTECTED] Subject: Webservice in WAR file Hi! Can anyone tell me how i can package a webservice inside a war file (with example would be great) Thanks (newbie)Harsh ********************************************************************** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com **********************************************************************