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.samplesGenerates and builds all SDK Web services samples.samples> ant build.webservices.samplesdeploy.webservices.samplesDeploys all Web services samples.samples> ant -Dws.host=localhost:8080 -Dws.context=ws deploy.webservices.samplesrun.webservices.samplesRuns all Web services samples.samples> ant -Dws.host=localhost:8080 -Dws.context=ws run.webservices.samplesbuild.dotnet.webservices.samplesBuilds all .NET SDK Web services client samples.samples> ant build.dotnet.webservices.samplesrun.dotnet.webservices.samplesRuns all .NET SDK Web services client samples.samples> ant -Dws.host=localhost:8080 -Dws.context=ws run.dotnet.webservices.samples