VMware logo

VMware Site Recovery Manager SDK Java (Axis) Samples Readme


This document includes these topics:

This document includes summary information only.

Note:   Information in this document may not be current. For up-to-date information, check these VMware Web sites:
Beta or Pre-release Products VMware Beta Community
Released SDK ProductsVMware vSphere Web Services SDK

Building the Samples

Currently the Site Recovery Manager SDK includes only one sample application and several batch files for Windows environments. These batch files require setting several environment variables. Before using the sample you need to generate client-side proxy code.

Prerequisites

  • To build the sample on a 64-bit platform, you first need to run Windows\SysWOW64\cmd.exe.

To use the build script (build.bat)

  1. Set the environment variables as shown in the table.

    Environment
    variable
    Description and usage notes Example setting
    AXISHOME Complete path to the Apache Axis installation top-level directory. Must be set prior to using the build.bat script. C:\apache\axis1.4
    JAVAHOMEPath to the binary directory for the Java JDK. C:\jdk1.6_0_22

  2. Open the Windows command prompt (or Linux shell).
  3. Navigate to the SDK\samples\srm\Axis\ sub-directory.
  4. Enter build at the command prompt.

Sample Applications

The SDK package includes generated Reference Guide for the available sample applications and helper classes, in this path:

SDK/doc/srm/ReferenceGuide

If the relative link above does not work, manually navigate to the sub-directory.

Sample Description, command-line syntax, and example...
RecoveryPlanList This sample lists all recovery plans and optionally gets state for the specified plan.

Command line syntax:
run.bat com.vmware.samples.recovery.RecoveryPlanList --url webserviceurl --username username --password password --planname planname


VMware Resources


Copyright © 1998–2020 VMware, Inc. All rights reserved. This product is protected by copyright and intellectual property laws in the United States and other countries as well as by international treaties. VMware products are covered by one or more patents listed at http://www.vmware.com/go/patents.
VMware is a registered trademark or trademark of VMware, Inc. in the United States and other jurisdictions. All other marks and names mentioned herein may be trademarks of their respective companies.

Last updated: 27-Jan-2020 5:00 pm  |  VMware Site Recovery Manager SDK