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... [Code] String myNewVm = port.IVirtualBox_createMachine (oVox,"/yourDir","myName",UUID.randomUUID().toString()); port.IVirtualBox_registerMachine(myNewMachine); [/Code] 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: "com.sun.xml.ws.commons.virtualbox.InvalidObjectFaultMsg" .... Christian Smith - Sun Microsystems - Dublin Ireland wrote: > Hi, > > 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 machine. > > Code: > > String baseFolder = > mPort.getSystemProperties().getDefaultMachineFolder(); > > IMachine machine = > mPort.createMachine( baseFolder, "clone", > UUID.randomUUID()); > > Exception: > > Exception in thread "main" javax.xml.ws.WebServiceException: > com.sun.xml.ws.commons.virtualbox.InvalidObjectFaultMsg: VirtualBox > error: Invalid managed object reference "_this" > at > com.sun.xml.ws.commons.virtualbox.IVirtualBox.createMachine (IVirtualBox.java:355) > > Is this similar to yours?? > > -Christian > > > > 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?... > > > > > _______________________________________________ vbox-dev mailing list [email protected] http://vbox.innotek.de/mailman/listinfo/vbox-dev
