Ignore:
Timestamp:
Jan 12, 2012 7:41:47 PM (12 years ago)
Author:
Ted Faber <faber@…>
Branches:
compt_changes, info-ops, master
Children:
5bbad08
Parents:
40c599f
Message:

Take url as a parameter for easier testing

File:
1 edited

Legend:

Unmodified
Added
Removed
  • axis/Terminate.java

    r40c599f rcfc4d68  
    1515            java.rmi.RemoteException {
    1616
    17         boolean force = args.length > 1;
     17        boolean force = args.length > 2;
     18        String exptName = "test";
     19        String urlString = "https://users.isi.deterlab.net:23235";
     20
     21        if (args.length > 0) exptName = args[0];
     22        if (args.length > 1) urlString = args[1];
    1823
    1924        // Get the port and construct the (simple) request.
    20         FeddPortType port = getPort("https://users.isi.deterlab.net:23235");
     25        FeddPortType port = getPort(urlString);
    2126        TerminateRequestType req = new TerminateRequestType(
    22                 new IDType(null, null, null, args[0], null),
     27                new IDType(null, null, null, exptName, null),
    2328                force);
    2429        TerminateResponseType resp = null;
Note: See TracChangeset for help on using the changeset viewer.