VBox SDK and PHP

This is for discussing general topics about how to use VirtualBox.
Post Reply
ThisUsernameIsTaken
Posts: 2
Joined: 9. Oct 2009, 11:14
Primary OS: Ubuntu other
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Ubuntu

VBox SDK and PHP

Post by ThisUsernameIsTaken »

Hello!

For a School project i need to create a virtual environment and create a management tool for it. This tools needs to be based on PHP.

Ive downloaded the VBox SDK, downloaded SOAP for php and tried to get some information out of it. Here is my PHP code, can someone out there please help me to resolve this issue?

Code: Select all

<?php 
$client = new SOAPClient('vboxwebService.wsdl');
try {

    $result = $client->IVirtualBox->getGuestOSType();

var_dump($result);

} catch (SOAPFault $f) {

    print $f->faultstring;

}
?> 
Thanks in advance!

Bye!
ThisUserNameIsTaken
Post Reply