[vbox-dev] IMachine::mediumAttachments and incorrect behavior using vboxwebsrv API
joseph1962smith at yahoo.com
Thu Mar 4 18:19:56 PST 2010
After quite a bit of testing, I believe there is definitely a problem with the IMachine::mediumAttachments webservice API. Per the documentation, this API should return a collection of medium attachment objects (actually a handle for each attachment object). Essentially a list (collection) with zero to many handles.
This works well when there is more than one medium attachment in the list. Whenever there is only one attachment in the list, the IMachine::mediumAttachments API actually returns a medium attachment object rather than a list with a single object (handle).
It seems this is a problem with vboxwebsrv. Has anyone encountered this problem using other API approaches (e.g: XPCOM) ?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the vbox-dev