In a terminal window, go to:
tut-install/examples/jaxws/helloservice/ |
Type the following command:
ant |
This command calls the default target, which builds and packages the application into a WAR file, helloservice.war, located in the dist directory.
Make sure that the GlassFish Server is started.
Type the following:
ant deploy |
You can view the WSDL file of the deployed service by requesting the URL http://localhost:8080/helloservice/HelloService?wsdl in a web browser. Now you are ready to create a client that accesses this service.