Java Development Requirements for the Web Services SDK

Developing Java Web-services client applications using the VMware vSphere Web Services SDK requires the Java SDK and a Java Web services development toolset. For best results, use Java 2, Standard Edition, version 7.0 (J2SE 1.7.x), specifically JDK 1.7 or later. Java 2, Standard Edition, version 8.0 (J2SE 1.8.x) is also supported.
The Java Web services development toolset must be a SOAP implementation that can be deployed to a Tomcat server. For example, you can use the client-side libraries in JAX-WS version 2.1. The JAX-WS 2.1 libraries are included with the JDK 1.7.
You can use other client-side tools and libraries, such as IBM WebSphere and several open source implementations, with the vSphere Web Services SDK. However, only the JAX-WS client libraries were tested with this guide.
The samples archive, in
samples.jar
, includes all vSphere Web Services SDK samples. The samples include client-side stub classes generated using the JAX-WS libraries. Samples using JAX-WS were generated using JDK 1.7.
If you are not using JDK 1.7, you must use the
build.bat
on Windows, or the
build.sh
on Linux, to generate stubs and compile the sample files (
vim25.jar
and
samples.jar
). The build scripts perform all necessary tasks for you, including setting the CLASSPATH and PATH environment variables. See Generating Stubs and Compiling Classes for the Web Services SDK for details.