VMware Site Recovery Manager SDK Java (Axis) Samples Readme
VMware Site Recovery Manager SDK Readme
Readme for C# (.NET) Samples
Readme for Java (JAX-WS) samples
|
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: |
|
|
|
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)
- Set the environment variables as shown in the table.
|
Environmentvariable |
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 |
|
JAVAHOME | Path to the binary directory for the Java JDK. |
C:\jdk1.6_0_22 |
- Open the Windows command prompt (or Linux shell).
- Navigate to the SDK\samples\srm\Axis\ sub-directory.
- 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
|