6.0
Table Of Contents
- vSphere Web Services SDK Developer’s Setup Guide
- Contents
- About the vSphere Web Services SDK
- Knowledge Required for Using the vSphere Web Services SDK
- Programming Languages Supported by the vSphere Web Services SDK
- Types of Applications That You Can Build Using This SDK
- Downloading the vSphere Web Services SDK
- vSphere Web Services SDK Package Contents
- SDK Versions and VMware vSphere Product Compatibility
- Setting Up for Java Development
- Setting Up for Microsoft C# Development
- vSphere Server Certificates
- Scripting the C# DLL Build
- Index
VMware, Inc. 29
vSphere Server Certificates
14 Signal the reverse proxy service to update its configuration by entering the following command:
/etc/init.d/rhttpproxy restart
Example A-1. An endpoints.conf File Modified To Support HTTP connections to the SDK and the MOB
/ local 8309 redirect allow
/sdk local 8307 allow allow
/client/clients.xml local 8309 allow allow
/ui local 8308 redirect allow
/vpxa local 8089 reject allow
/mob namedpipe /var/run/vmware/proxy-mob allow allow
/wsman local 8889 redirect allow
/sdkTunnel namedpipetunnel /var/run/vmware/proxy-sdk-tunnel allow reject
/ha-nfc local 12001 allow allow
/nfc local 12000 allow allow
/folder local 8309 redirect allow
/host local 8309 redirect allow
/tmp local 8309 redirect allow
/screen local 8309 redirect allow
/guestFile local 8309 redirect allow
/cgi-bin local 8309 redirect allow
HTTP Configuration for ESX 4.1, ESXi 4.1, or ESXi 5.0
You can modify ESX configuration from the service console, using the following procedure. The procedure is
the same for ESXi, but you must use a shell window over an SSH connection because ESXi does not have a
service console.
If you do not have SSH enabled for your ESXi server, use the appropriate vSphere CLI command to obtain the
configuration file from the server, modify the file to support HTTP, and move the file back to the ESXi system.
For more information about the vSphere CLI command syntax, see the vSphere CLI Installation and Reference
Guide.
To modify the Web proxy service on ESX or ESXi 4.1 or 5.0 to support HTTP
1 Log in to the service console or a shell window as the root user.
2 Change directories to /etc/vmware/hostd.
3 Use a text editor to open the proxy.xml file.
4 Navigate to the list of endpoints in the file, identified by the <EndpointList> tag, that contains settings
for the Web service supporting the SDK.
The nested tags might look something like this:
...
<e id="1">
<_type>vim.ProxyService.NamedPipeServiceSpec</_type>
<accessMode>httpsWithRedirect</accessMode>
<pipeName>/var/run/vmware/proxy-sdk</pipeName>
<serverNamespace>/sdk</serverNamespace>
</e>
...
5 Change the accessMode to httpAndHttps.
If you prefer to completely disable HTTPS, set the accessMode to httpOnly.
6 (Optional) Change the setting for the MOB as well.
7 Save your settings and close the file.
8 Restart the vmware-hostd process by entering the following command: