Compile a webservice

Asked

Viewed 130 times

-1

I created a Webservice in eclipse using java, but as I compile this Webservice and put to work without the need to install Eclipse?

Note: I used Tomcat as a server

1 answer

0


You need to install Tomcat, Glassfish or your preferred server. Let’s talk about how to do with Tomcat. With your server ready to receive your webservice you need to export your project as a War file by following these steps in Eclipse: Right-click on the project, export > other > War. With this file in hand just enter your Tomcat Manager, go to the Deploy written option to put your Webservice information as path etc and select the file. War generated. After all these steps your Webservice will be listed in the services available from Tomcat in the manager tab and there will be the link to access it.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.