Changeset 6a03b9f
- Timestamp:
- Mar 31, 2011 3:02:34 PM (14 years ago)
- Branches:
- axis_example, compt_changes, info-ops, master
- Children:
- 56baf92
- Parents:
- 6b25610
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
axis/Terminate.java
r6b25610 r6a03b9f 4 4 import net.deterlab.isi.XTrustProvider; 5 5 6 class Create extends FeddCommand {6 class Terminate extends FeddCommand { 7 7 /** 8 8 * Dummy program to test an AXIS fedd implementation generated from the … … 27 27 */ 28 28 29 TerminateRequestType req = new TerminateRequestType( null,29 TerminateRequestType req = new TerminateRequestType( 30 30 new IDType(null, null, null, args[0], null), 31 null);32 NewResponseType resp = null;31 false); 32 TerminateResponseType resp = null; 33 33 34 34 35 35 try { 36 36 /* Build the message and make the call */ 37 resp = port. _new(req);37 resp = port.terminate(req); 38 38 } 39 39 catch (FaultType f) { 40 System.err.println("Error in New: " + f);40 System.err.println("Error in Terminate: " + f); 41 41 System.exit(20); 42 42 } 43 ExperimentLabels newLabels = 44 new ExperimentLabels(resp.getExperimentID()); 45 System.out.println("New success: " + newLabels.getLocalname() + "(" + 46 newLabels.getFedid() + ")"); 43 System.out.println("Terminate success: " + 44 resp.getExperiment().getLocalname()); 47 45 } 48 46 }
Note: See TracChangeset
for help on using the changeset viewer.