This document describes how to run the VMware sample code that uses the JAX-WS bindings for the vCenter Single Sign On API. The samples have been developed to work with the JAXWS bundled in libs/JAXWS-RI 2.3.3. They are located in sub-directories contained in the following vSphere Management SDK directory:
The following sections contain information about building and running the JAX-WS vSphere API samples.
JAVAHOME Environment VariableYou must set the JAVAHOME environment variable to the base directory of a JDK 11 Converting Shell Scripts for Linux
The vCenter Single Sign On SDK includes the following shell scripts in the
The shell files in the distribution kit have DOS-style line endings. These do not work
when running these scripts on Linux. Use the Linux command To run these scripts, set the Execute permission on the files:
Samples usageAll samples print a usage summary if you do not specify any options or if you specify --help on the command line. You can also find usage information for all samples in the JAX-WS Samples Reference Documentation. Each package has a class summary that describes one or more samples. Generating Stubs from WSDL and Compiling SamplesThe JAXWS-RI 2.3.3 is required to generate the stubs from the provided WSDL.
You can generate the JAXWS stubs from the shipped WSDL by using the
|