Solved

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

Posted on 2010-11-16
4
1,222 Views
Last Modified: 2012-05-10
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
Comment
Question by:ilava
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 23

Expert Comment

by:Luciano Patrão
ID: 34143102
Hi

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

Jail
0
 
LVL 3

Author Comment

by:ilava
ID: 34154633
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
 
LVL 23

Accepted Solution

by:
Luciano Patrão earned 500 total points
ID: 34155102
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
 
LVL 3

Author Closing Comment

by:ilava
ID: 34247035
Which gives me an idea how to do with php. Now i have done this with PHP. Thx
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article, I will show you HOW TO: Create your first Windows Virtual Machine on a VMware vSphere Hypervisor 6.5 (ESXi 6.5) Host Server, the Windows OS we will install is Windows Server 2016.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
The goal of the video will be to teach the user the difference and consequence of passing data by value vs passing data by reference in C++. An example of passing data by value as well as an example of passing data by reference will be be given. Bot…
The viewer will learn how to pass data into a function in C++. This is one step further in using functions. Instead of only printing text onto the console, the function will be able to perform calculations with argumentents given by the user.
Suggested Courses

617 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question