Setting up your environment to develop client applications with the SDK involves several steps, but if you are already developing vSphere applications, some of the steps are unnecessary.

Procedure

  1. Select a programming language (C# or Java) for the Web services client application development. You can use Linux or Windows for the Java development. C# development is done on Windows.
  2. Identify the target VMware Site Recovery Manager server (or servers) to use for development. A “target server” is a Site Recovery Manager server that your client application manages.
  3. Install, or verify the presence of, the development environment appropriate for your programming language.
    • For C#, you need one of the Microsoft development environments, such as Visual Studio 2008 or Microsoft Visual C#. Use Microsoft Visual Studio 2008 or later, which includes the required .NET Framework. For more information, visit the MSDN website.
      Note: For Site Recovery Manager Appliance Management APIs, use Microsoft Visual Studio 2017.
    • You can use Java Standard Edition (SE) 6.0 or 7.0. VMware recommends Java Development Kit (JDK) 1.7.0_45 or later. For more information, visit the Oracle Java website. Open JDK works also.
      Note: For Site Recovery Manager Appliance Management APIs, use JDK 1.8 Update 202.
  4. Obtain the appropriate Web services client tools (XML parser, WSDL‐to‐proxy‐code generation tools, and runtime) for your programming language.
    • For C#, you need Microsoft .NET Framework 2.0 or 1.1. If you already use Microsoft development tools, it is likely you already have this. You can obtain the .NET Framework 2.0 from MSDN. You also need the .NET 2.0 Software Development Kit, which includes the WSDL‐to‐stub generation tool (wsdl.exe) and the command‐line C# compiler (csc.exe), both of which get called from the gensrmstubs.cmd script. You can get the .NET 2.0 Software Development Kit from Microsoft: http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=19988.
    • For Java with JAX‐WS, you can use the JAX‐WS framework that includes the JDK.
      Note: For Site Recovery Manager APIs, use Java 1.4. For Site Recovery Manager Appliance Management APIs, use Java 1.8.
    • For Java with Axis, you need the Apache Axis 1.4 client‐side Web service libraries. For documentation and downloads, visit the Axis Apache website.
      Note: For Site Recovery Manager Appliance Management APIs, use Apache Axis2.