Setting up your
environment to develop client applications with the SDK involves a number of
steps, but if you are already developing vSphere applications, some of the
steps are unnecessary.
Procedure
-
Choose a
programming language (C# or Java) for Web services client application
development. You can use Linux or Windows for Java development. C# development
is done on Windows.
-
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
will manage.
-
Install, or verify
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#. VMware recommends using Microsoft Visual Studio 2008 or
later, which includes the required .NET Framework. For more information, visit
the MSDN Web site.
- 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 Web site. Open
JDK works also.
-
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 comes with the JDK.
- For Java with Axis,
you need the Apache Axis 1.4 client‐side Web service libraries. For
documentation and downloads, visit the Axis Apache Web site.
-
The SDK includes sample
code to list and (with additions) prepare to test a recovery plan.