DoubleCloud Proxy

Welcome to Code Generator for vSphere Java API, as known as DoubleCloud Proxy.

Download and Setup

Lost VMs or Containers? Too Many Consoles? Too Slow GUI? Time to learn how to "Google" and manage your VMware and clouds in a fast and secure HTML5 App.

The code generator is a single executable Java jar file. You can simple download the jar file HERE to your local computer. If you already have Java Runtime (JRE) 1.6 or higher installed, all you need to do is to double click on the executable file steveproxy.jar.

If you are new to Java, you want to check out the download page of JRE ( and install JRE onto your computer first. The installation should be straight-forward. If you need help on installing Java, just check out the links on the page.

Getting Started

After you starting the application, you should see the following GUI.

To start proxy, you click on the File-New… menu item. A dialog box will show up as follows:

You want to change the IP address to your vCenter or ESXi address. You can leave the port mapping as it is unless you find a port conflict. After clicking OK button, the proxy will start.

Now start the vSphere Client. In the following dialog box, enter IP as shown in follows, and then username and password. Please don’t use doublecloud username unless you do have such a username.

After that, the vSphere Client will work as if you were connecting to a real vCenter server. You will see messages being added to the table while vSphere Client getting started.

You can drive the vSphere Client for more messages. At the same time, you can select one or many request messages to generate Java code. You can also check out other tabs for SOAP XML or even raw HTTP messages. With the generated code, you can run as other VI Java Applications. Check out the 5 minutes Getting Started Tutorial.

Along the way, you can save the messages to a local file for any number of times you want. You can read them back later on.

But once you open a previously recorded message file, the proxy is going to stop. So the software will warn you whether you want to move forward.

Well, I guess that is pretty much all about this tool: powerful yet simple to use. Please come back for more updates and releases.


  1. Posted September 20, 2013 at 5:20 am | Permalink


  2. Nate
    Posted October 2, 2013 at 2:10 am | Permalink

    This is a godsend. I’ve been trying to implement the SOAP API in php for weeks. This tells me exactly how the format should be if I proxy a vsphere client through it. You have my gratitude.

  3. tom
    Posted November 20, 2013 at 6:44 pm | Permalink

    It worked great the first time I used it. Then while using it that first time, I tried disconnecting a VM’s network connection (to see what the Java code would look like) and all of a sudden I got a bunch of popups that said requests failed. I doubt that specific operation caused things to fail. So I tried to log back in and now all I get is

    vSphere Client could not connect to “my-machine”.
    An unknown connection error occurred. (The request failed because the remote server took too long to respond. (The request was aborted: The operation has timed out.))

    This will be a great time saver however, if it works, thanks!

  4. Peter
    Posted December 10, 2013 at 9:11 am | Permalink

    I’ve used this and it has been very helpful. Since some configuration changes are moving to web client only, will there be a new version to sit in between the web client and vCenter? I added my web client port to the DoubleCloud proxy list but it failed.

  5. Hao
    Posted March 11, 2014 at 3:53 am | Permalink

    Really impressive~
    Also hope it will support NGC(web client) soon…

  6. Dennis Jurgensen
    Posted April 23, 2014 at 8:13 am | Permalink

    I was using double cloud proxy to look at the code for doing StorageResourceManager recommended data stores for a datastoreCluser, i.e. StoragePod. As I was going through the code I saw:
    StoragePlacementSpec storageSpec948 = new StoragePlacementSpec();
    storageSpec948.type = “clone”;
    ManagedObjectReference vm949 = new ManagedObjectReference();
    storageSpec948.vm = vm949;
    vm949.type = “VirtualMachine”;
    vm949.val = “vm-108”;
    StorageDrsPodSelectionSpec podSelectionSpec950 = new StorageDrsPodSelectionSpec();
    storageSpec948 = podSelectionSpec950;

    I believe that last line should be storageSpec948.podSelectionSpec = podSelectionSpec950;

    I like your tool, it sheds light on things that are not well documented in the sdk.

  7. Posted April 23, 2014 at 10:06 am | Permalink

    Thanks Dennis! I am sure the code generation needs a lot of improvements. :)


  8. tom
    Posted June 2, 2014 at 5:40 pm | Permalink

    Me again.

    Now I get the following error when trying to login.

    An unknown connection error occurred. (The client received an invalid response from the server. (The server committed a protocol violation. Section=ResponseStatusLine))

    I googled and found this link:

    I hoped if I updated VpxClient.exe.config and added the stuff in Solution 1 that it would help. It didn’t.

    Any ideas?

  9. Bert
    Posted November 19, 2014 at 12:21 am | Permalink

    I have used this proxy, but when I try to use vSphere client to connect the proxy there is an error :
    Error returned by expat parser: not well-formed(invalid token)

    So I see the HTTP Body of POST, and there is an invalid token like this:




    How to fix it?


  10. Posted November 19, 2014 at 10:08 pm | Permalink

    Where did you see the error?


  11. Bert
    Posted November 21, 2014 at 1:53 am | Permalink

    I saw this invalid token by DoubleCloud Proxy, in it’s HTTP Body tab page.

    I think I have the same problem like janez at 27.

    Any ideas?


  12. Alex
    Posted March 21, 2015 at 12:21 am | Permalink

    Doublecloud Proxy run in vsphere5.5,show error”Error returned by expat parser: not well-formed (invalid token)” from vsphere client;

  13. Vrushank
    Posted April 9, 2015 at 9:14 pm | Permalink


    I am using double cloud for the first time. I provided my vCenter IP to host name and with the same IP i logged in the vCenter Server, but unfortunately nothing gets recorded.
    please help.


  14. Cody
    Posted June 10, 2015 at 8:58 am | Permalink

    I am using this tool to connect to my esxi host.
    I have given the ESXI host name in the tool. But once I login to my vSphere CLient using and credentials, and try to open the console, I get an error SSL thumbprint mismatch. Please help.

    Should I give the same hostname even in vSphere that I gave in the tool. Or just

  15. Dave
    Posted August 13, 2015 at 9:21 am | Permalink

    This tool became indispensable for my automation development work. Thanks!

  16. Posted August 14, 2015 at 7:22 pm | Permalink

    Glad to know it. Thanks for sharing!


  17. bigfun
    Posted February 15, 2016 at 8:36 pm | Permalink

    I have similar issues as others mentioned before – invalid token returned by vcenter.
    Connection works properly when connecting directly to vcenter, so this must be caused by the proxy.

    when looking at the “raw” tab for a POST request to /sdk, I can indeed some binary string in the body, just at the start of it (after headers). See screenshot below:

    I’m using JRE8 and win 7 32bit, and vsphere 5.5

Post a Comment

Your email is never published nor shared. Required fields are marked *


You may use these HTML tags and attributes <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>


    My company has created products like vSearch ("Super vCenter"), vijavaNG APIs, EAM APIs, ICE tool. We also help clients with virtualization and cloud computing on customized development, training. Should you, or someone you know, need these products and services, please feel free to contact me: steve __AT__

    Me: Steve Jin, VMware vExpert who authored the VMware VI and vSphere SDK by Prentice Hall, and created the de factor open source vSphere Java API while working at VMware engineering. Companies like Cisco, EMC, NetApp, HP, Dell, VMware, are among the users of the API and other tools I developed for their products, internal IT orchestration, and test automation.