Building and Deploying a Client
To build and deploy 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-fromjava
orwsit-enabled-fromwsdl
) depending on which web container you are using:For GlassFish:
ant client
For the Apache Tomcat:
ant -Duse.tomcat=true client
This command runs
wsimport
, which retrieves the web service's WSDL, and then it runsjavac
to compile the source.