Deploy Eclipse Web Service To Tomcat Axis
1) From Eclipse select the project that contains the Web Service and then highlight the source directory. Right click on the source directory and select Export->Java Jar file and then click Next.
2) The Web Service should be selected and verify that the "Export generate class files and resources" and "Export java source files and sources" check boxes are checked. Under options make sure the "Compress the contents of the jar file" and "Add directory entries" are checked". You can the select the directory and file name that you want this jar to placed. Click Finish button.
3) Copy the exported jar flie to the Axis lib directory within Apache Tomcat (ex: C:\Program Files\Apache Software Foundation\Tomcat 5.5.15\webapps\axis\WEB-INF\lib)
In addition to the web service jar file any other jars that the web service calls need to be copied into this directory.
4) Now we need to deploy the service. Start->Run->cmd
Navigate to the directory within the Web Service project where the deploy.wsdd (Web Service Deployment Descriptor) is located. (In a project like BASS there may be more than one wsdd file. Once per service.) The deploy.wsdd is created and exists within the web service project within Eclipse.
5) Startup Apache Tomcat server. (The server must be started for the Web Service to be deployed or else an error will occur.)
6) Type the following command: java org.apache.axis.client.AdminClient deploy.wsdd (deploy.wsdd would be the wsdd file name for the service that you want to deploy. In addition, if you are not in the folder where the wsdd is located you will need to add the path name as well.)
Startup the Tomcat Server. This is how Tomcat will pickup the changes that you made.)
->Manager->/axis->/view and the Web Services that you deployed should be present.
