Running a Web Service Client
To run a client for either of the examples provided in this tutorial, enter one of the following Ant commands in the top-level directory of the respective example, (either
wsit-enabled-fromjavaorwsit-enabled-fromwsdl) depending on which web container you are using:For GlassFish:
ant runFor the Apache Tomcat:
ant -Duse.tomcat=true runThis command executes the
runtarget, which simply runs Java with the name of the client's class, for example,fromwsdl.client.AddNumbersClient.