[vbox-dev] Calling getHWVirtExProperty from Perl

Ian Chapman packages at amiga-hardware.com
Tue Apr 13 10:47:15 GMT 2010


Hi,

I'm trying to write a client in perl and whilst things have been going 
well up to now, this has got me stumped. I might be missing the obvious, 
but how is:

IMachine_getHWVirtExProperty()

supposed to be called in perl? I assumed something along the lines of:

vboxService->IMachine_getHWVirtExProperty("$uuid",'VPID');

Whatever parameter I try to pass as the HWVirtExPropertyType, vboxwebsrv 
flags the following error:

API return code:            0x80070057 (NS_ERROR_INVALID_ARG)

A dump of the SOAP operation appears to always show the 
HWVirtExPropertyType as being effectively empty which at least explains 
the server error. For example:

<?xml version="1.0" encoding="UTF-8"?><soap:Envelope 
soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" 
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
xmlns:interface="urn:vbox" xmlns:xsd="http://www.w3.org/2001/XMLSchema" 
xmlns:vbox="http://www.virtualbox.org/"><soap:Body><vbox:IMachine_getHWVirtExProperty><_this 
xsi:type="xsd:string">5cf7724c3e2616cc-000000000000008e</_this><property 
xsi:nil="true" xsi:type="vbox:HWVirtExPropertyType" 
/></vbox:IMachine_getHWVirtExProperty></soap:Body></soap:Envelope>


Please, somebody enlighten me :-) thanks.


-- 
Ian Chapman.




More information about the vbox-dev mailing list