• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1323
  • 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
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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