[vbox-dev] Open a remote session using ws
skrevel at wanadoo.fr
Thu Jun 12 07:13:15 PDT 2008
OK... I've got the same than you have.
I downloaded the source code and noticed that when we request the
webservice, we just send a "_this" as managed object reference...
I'm really new in ws, SOAP and Virtualization but I think that doesn't
sound so good...
Have you tried to generate API with AXIS and the wsdl files?
With the solution explained in the userGuide and when coding directly
above the generated API, it's pretty better...
Here is for your request...
String myNewVm = port.IVirtualBox_createMachine
But I don't know why, when I try to open a session, I do not ask on the
correct managed object reference... Still getting the:
Christian Smith - Sun Microsystems - Dublin Ireland wrote:
> Is there any error output? If so could you post it? I ran in to a
> couple of issues yesterday (still unresolved) trying to create a
> String baseFolder =
> IMachine machine =
> mPort.createMachine( baseFolder, "clone",
> Exception in thread "main" javax.xml.ws.WebServiceException:
> com.sun.xml.ws.commons.virtualbox.InvalidObjectFaultMsg: VirtualBox
> error: Invalid managed object reference "_this"
> Is this similar to yours??
> Jean-Michel Guillaume wrote:
> > Hi!!
> > I'm trying to open a remote session using web services.
> > I use
> > https://jax-ws-commons.dev.java.net/virtualbox/
> > and did not manage to open that session...
> > Has anybody already succeeded?...
More information about the vbox-dev