Hi,<br>I got a little problem with using the web service. <br><br>Code : <br><?php<br>$client = new SoapClient("vboxwebService.wsdl");<br>$log=$client->IWebsessionManager_logon("","");<br>
$log_array=(array) $log;<br>$log_client="";<br>$log_client=$log_array['returnval'];<br>if ($log_client!="") {<br>    print "Connection To VirtualBox Web Service = Success <br>Connection id:";<br>
    echo $log_client;<br>}else {<br>    print "Connection To VirtualBox Web Service =failure!";<br>}<br>print_r($client->IVirtualBox_getVersion($log_client));<br>?><br>Output : <br>Connection To VirtualBox Web Service = Success <br>
Connection id:fbf18b2ecf194980-000000000000000c<br clear="all"><br>But nothing from IVirtualBox_getVersion<br><br>This is what I got in the console: <br>9: accepted connection from IP=<a href="http://127.0.0.1">127.0.0.1</a> socket=9... #### SOAP FAULT: VirtualBox error: Invalid managed object reference "" [SOAP-ENV:Client]<br>
Request served<br> And the apache error log : <br>[Tue Dec 09 17:16:59 2008] [error] [client <a href="http://10.205.75.30">10.205.75.30</a>] PHP Fatal error:  Uncaught SoapFault exception: [SOAP-ENV:Client] VirtualBox error: Invalid managed object reference "" in /var/www/html/index.php:19\nStack trace:\n#0 [internal function]: SoapClient->__call('IVirtualBox_get...', Array)\n#1 /var/www/html/index.php(19): SoapClient->IVirtualBox_getVersion('fbf18b2ecf19498...')\n#2 {main}\n  thrown in /var/www/html/index.php on line 19<br>
<br>Any help would be greatly appreciated! <br>A.G.<br>-- <br>Alexis Gingras<br><br><br><br>