Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

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

Posted on 2010-11-16
4
Medium Priority
?
1,240 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 24

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 24

Accepted Solution

by:
Luciano Patrão earned 1500 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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
In this article we will learn how to backup a VMware farm using Nakivo Backup & Replication. In this tutorial we will install the software on a Windows 2012 R2 Server.
The goal of the tutorial is to teach the user how to use functions in C++. The video will cover how to define functions, how to call functions and how to create functions prototypes. Microsoft Visual C++ 2010 Express will be used as a text editor an…
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…

721 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