Hi Michal,

I have encountered that problem before. Typically when authentication fails the webservice returns a null string instead of a MOR. How have you configured authentication for the webservice? To remove authentication all together (for development only) execute:

VBoxManage setproperty websrvauthlibrary null


-Christian


Michal Bachorík wrote:
Hi all,

I wanted to try out the WS api, but I failed on very first step - whatever credentials I pass to WebsessionManager_Logon, I get back empy string (so, the reference to IVirtualBox is not valid). Does anybody have some working example?

Thanx,

Michal

PS: There is no java sample code anywhere in VBox installation (one is mentioned in VirtualBox help)

_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

begin:vcard
fn:Christian Smith
n:Smith;Christian
org:Sun Microsystems;SunRay and Desktop Virtualization
adr:Boole House;;East Point Business Park;Dublin 3;;;Ireland
email;internet:[EMAIL PROTECTED]
title:Software Engineer
tel;work:x19779
x-mozilla-html:FALSE
url:http://www.sun.com/software/vdi/index.jsp
version:2.1
end:vcard

_______________________________________________
vbox-dev mailing list
[email protected]
http://vbox.innotek.de/mailman/listinfo/vbox-dev

Reply via email to