VirtualBox

Changeset 30461 in vbox


Ignore:
Timestamp:
Jun 28, 2010 12:33:33 PM (15 years ago)
Author:
vboxsync
Message:

Webservice: compile fix for metrictest.java sample

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/samples/java/jax-ws/metrictest.java

    r21898 r30461  
    142142    public metrictest()
    143143    {
    144         vbox = VirtualBox.connect("http://localhost:18083/");
    145         mgr = new IWebsessionManager(vbox.getRemoteWSPort());
     144        mgr = new IWebsessionManager("http://localhost:18083/");
     145        vbox = mgr.logon("test", "test");
    146146        System.out.println("Initialized connection to VirtualBox version " + vbox.getVersion());
    147147        perf = new PerformanceCollector(vbox);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette