Documentation Center

ANT SDK Custom Web Services Build Targets

ANT targets for building and deploying all SDK Web service samples and running these samples to verify the generated services are provided in ANT script samples/build.xml. There are individual targets for building, deploying, and running samples as described above. There are also the targets described below for building, deploying, and running all of the Web services samples in a single operation.

The deploy.webservices ANT targets require the environment variable %WS_HOME% to be configured. For example:
set WS_HOME=…\webapps\ws
The deploy.webservices and
run.webservices
ANT targets require a running WorldServer Web application.
  • build.webservices.samples
    Generates and builds all SDK Web services samples.
    samples> ant build.webservices.samples
  • deploy.webservices.samples
    Deploys all Web services samples.
    samples> ant -Dws.host=localhost:8080 -Dws.context=ws deploy.webservices.samples
  • run.webservices.samples
    Runs all Web services samples.
    samples> ant -Dws.host=localhost:8080 -Dws.context=ws run.webservices.samples
  • build.dotnet.webservices.samples
    Builds all .NET SDK Web services client samples.
    samples> ant build.dotnet.webservices.samples
  • run.dotnet.webservices.samples
    Runs all .NET SDK Web services client samples.
    samples> ant -Dws.host=localhost:8080 -Dws.context=ws run.dotnet.webservices.samples