Run JAX-WS Sample Code

After building, you can run the sample program that uses JAX‐WS bindings for the Site Recovery Manager Appliance Management API. The program was developed to work with the JAX‐WS framework that is bundled with the JDK 1.8.0_202

Procedure

  1. Change directory to sdk\samples\drconfig\JAXWS, where the JAR files are located, if you are not already there.
  2. Define VMKEYSTORE as the path to the Java key store. This can be the default Java keystore, or custom defined. This is needed to securely access Site Recovery Manager Server.

    export VMKEYSTORE=/usr/lib/jvm/java-1.8.0-openjdk-1.8.0.232.b09-0.el7_7.x86_64/jre/lib/security/cacerts" or your custom java keystore location

    set VMKEYSTORE=C:\Program Files\Java\jdk1.8.0_202\jre\lib\security\cacerts

    For more information about VMKEYSTORE, see SSL Certificates.
  3. Call the run script or batch file to execute the sample program. This sample program prints a usage summary if you do not specify any options or if you specify --help on the command line.