Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1269
  • Last Modified:

How to retrive ESX/VCenter properties using VI SDK using C++/gsoap?

Hi,

I want to retrieve the Host System Properties of ESX/VCenter. I want to do this using C++. When i google it i found that it can be done using C++/gsoap. But im bit confused where to start and how to get work ... is any one provide tutorial or source code for this?..

I have very less time. any help will be appriciated,
Thanks in advance
0
ilava
Asked:
ilava
  • 2
  • 2
1 Solution
 
Luciano PatrãoICT Senior Infraestructure Engineer Commented:
Hi

You can do this using perl and powershell scripts, but C++ I do not know

Jail
0
 
ilavaAuthor Commented:
Hi,

Is there any way to do with PHP and Soap Client. I have successfully retrieve the service content. But i cant get the HostSystem Properties.
0
 
Luciano PatrãoICT Senior Infraestructure Engineer Commented:
Hi

I don't know any scripts or code that can do this with PHP

Check this, and see if has any information that you can use.

http://www.vmware.com/support/pubs/sdk_pubs.html

and

http://www.vmware.com/technical-resources/script-automation/api-portfolio.html

Try to install VMware vSphere PowerCLI and VMware vSphere SDK for Perl, and check standard scripts or commands, and see if you can use on the PHP code.

There was a php beta product/code vcloudsdkphp, but documentation and the tool, I cannot find anymore in the vmware.com.

I know that are some codes or scripts to use with VMware Lab Manager(using aPI). But I never use this, and I don't know much about it. Try search any information about this.

Hope this can help

Jail
0
 
ilavaAuthor Commented:
Which gives me an idea how to do with php. Now i have done this with PHP. Thx
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now