[vbox-dev] CreateMachine issue with vboxwebsrv

Jean-Michel Guillaume jean-michel.guillaume at sophia.inria.fr
Wed Jan 28 09:16:36 GMT 2009


Hello everyone.
I try to create a Machine with the VBox webservice sdk

[code]
        VboxServiceLocator service = new VboxServiceLocator();
        VboxPortType port = service.getvboxServicePort(new 
URL("http://localhost:18083/"));
        String oVbox = port.IWebsessionManager_logon("","");
        String machine = 
port.IVirtualBox_createMachine(oVbox,"","Clone","");
[/code]

but get the following error:

[code]
    Exception in thread "main" AxisFault
     faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Client
     faultSubcode:
     faultString: VirtualBox error: Guest OS type '' is invalid (0x80bb0001)
     faultActor:
     faultNode:
     faultDetail:
        
{http://www.virtualbox.org/}RuntimeFault:<resultCode>-2135228415</resultCode><interfaceID/><component>VirtualBox</component><text>Guest 
OS type '' is invalid</text>
[/code]

from axis, and this one on the service output:

[code]
    API return code:            0x80BB0001 (VBOX_E_OBJECT_NOT_FOUND)
    COM error info result code: 0x80BB0001
    COM error info text:        Guest OS type '' is invalid
    4: accepted connection from IP=127.0.0.1 socket=9... #### SOAP 
FAULT: VirtualBox error: Guest OS type '' is invalid (0x80bb0001) 
[SOAP-ENV:Client]
[/code]
...
Am I mistaken?
THX
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jean-michel_guillaume.vcf
Type: text/x-vcard
Size: 309 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20090128/2032bef4/attachment.vcf>


More information about the vbox-dev mailing list