In a terminal window, go to:
tut-install/examples/jaxws/webclient/ |
Type the following command:
ant |
This command calls the default target, which runs the wsimport tasks, then builds and packages the application into a WAR file, webclient.war, located in the dist directory.
Type the following command:
ant deploy |
This task deploys the WAR file to the server.
In a web browser, navigate to the following URL:
http://localhost:8080/webclient/HelloServlet
The output of the sayHello method appears in the window.