Documentation Center

Ant targets for building custom web services

A list of Apache Ant targets you can use to build, deploy, and run all the web service samples in a single operation.

Prerequisites

  • Make sure that you configured the WS_HOME environment variable. deploy.webservices Ant targets require it.
  • Make sure that you have a running instance of WorldServer. deploy.webservices and run.webservices targets require it.

Ant targets

NameDescriptionCommand
build.webservices.samplesGenerates and builds all SDK web service samples.samples> ant build.webservices.samples
deploy.webservices.samplesDeploys all web service samples. samples> ant -Dws.host=<ws-host>:<port> -Dws.context=ws-legacy deploy.webservices.samples
run.webservices.samplesRuns all web service samples.samples> ant -Dws.host=<ws-host>:<port> -Dws.context=ws-legacy run.webservices.samples
build.dotnet.webservices.samplesBuilds all the .NET web service client samples.samples> ant build.dotnet.webservices.samples
run.dotnet.webservices.samplesRuns all the .NET web service client samples. samples> ant -Dws.host=<ws-host>:<port> -Dws.context=ws-legacy run.dotnet.webservices.samples