Overview of a Java
Sample Application for the Web Services SDK
This section includes an example of a
complete client application that demonstrates the basic client capability. The
sample client application prints out the product name, server type, and product
version to demonstrate that it is connected and able to retrieve information
from the server.
While
Java Test Client Application
is a complete client application that demonstrates the basic client capability,
it uses a slightly different format than the Java sample files in the
SDK\
directory. This example,
and the Java samples that are included with your vSphere Web Service SDK, have
been compiled using JAX-WS bindings.
Most of the vSphere Web Services SDK samples do
not handle exceptions, and they accept all security certificates. Use the
samples as examples for extracting the types of data you want to view, but do
not use these security or exception techniques in your production applications.