Custom Component Samples

WorldServer includes five custom SDK Web services component samples.

These samples have a two-fold purpose: to demonstrate server-side SDK functionality, and to generate Web services and client-side proxies for the original SDK applications which provide identical SDK functionality in the Web client environment.

The ANT script samples/build.xml included with the samples has targets that generate, build, deploy, and run the Web services. (See the Toolkit Samples topic.) This is representative of what’s required for building and deploying each Web services sample.

For running the Web services samples, you must create a WorldServer test environment with which the sample applications will communicate. For detailed instructions about what this WorldServer test environment should include, read the config.properties file for each sample. You must configure the samples using the config.properties file in each sample’s folder to match the WorldServer test environment that you have set up, and rebuild the samples to include the custom configuration.

Distribution File Package

The Web services samples are also available in deployable packages in the SDK distribution files:
samples/dist/*WebServiceServer.zip

You may choose to use these and skip the generate and build steps for the samples. But if you are interested in developing your own custom Web services components you will need to generate and build your Web services, and a good place to start is by generating and building the samples.