Permalink
Browse files

- two webservice calls

  • Loading branch information...
1 parent f37999b commit 188d2d6b671cd2957f19408041fc639ed2b7fa8b @sushantk committed Nov 9, 2011
Showing with 6 additions and 4 deletions.
  1. +6 −4 src/siri/ModuleHandler.java
@@ -23,14 +23,16 @@ public static void main (String[] args) {
RequestContext requestContext = new RequestContext();
String moduleId = args[ 0 ];
- ModuleHandler handler = new ModuleHandler(requestContext, moduleId, moduleId);
- handler.execute();
+ ModuleHandler handler1 = new ModuleHandler(requestContext, "iid1", moduleId);
+ ModuleHandler handler2 = new ModuleHandler(requestContext, "iid2", moduleId);
+ handler1.execute();
+ handler2.execute();
TaskManager taskManager = requestContext.getTaskManager();
taskManager.run();
- Data data = handler.getData();
- System.out.println("data: " + data);
+ System.out.println("data1: " + handler1.getData());
+ System.out.println("data2: " + handler2.getData());
System.out.println("exit");
}

0 comments on commit 188d2d6

Please sign in to comment.