|Deploy My Eclipse Web Service - Beginner [message #227421]
||Wed, 28 January 2009 17:51
Registered: July 2009
I have developed my first web service. It works fine with Tomcat within my
Eclipse IDE and the web service client within Eclipse can connect fine
and so on.
The service is a particular class name specified by my 'service provider'.
The provider will send notifications to my webservice, it expects it to be
the name of this class. The majority of the project is standard java
classes processing the received messages and storing in a MySQL database.
The Eclipse project is called 'mywebservice' and the web service class
itself has another name, it's just a very simple java class that I exposed
as a service using Eclipse/Axis2. I want to deploy this web service to a
live Tomcat server (running on my laptop).
I am unsure how to do this. Export>war exports a war file with the same
name of my project. I can then browse from Tomcat, import and deploy this
service. but if I click on the service it get brought to an error page.
Also, the java project had a lot of dependencies on external jar files. Do
these get exported or do I have to manually deploy/copy these to my Tomcat
Thanks for reading,