
The crisis Grid works as follows.
The steps in execution are as follows
mapService = "org.hpsearch.demo.CrisisGridServices.MapService";
// should use the following for discovery
// mapServiceLoc = NBDiscover.discover(mapService);
mapServiceLoc = "http://156.56.104.176:9090/axis/services/WSSConnector?wsdl";
mapSource = new WebServiceHandler(mapService);
mapSource.setEndPointURI(mapServiceLoc);
rainFallPublisher = "org.hpsearch.demo.CrisisGridServices.RainFallPublisher";
// should use the following for discovery
// rainFallPublisherLoc = NBDiscover.discover(rainFallPublisher);
rainFallPublisherLoc = "http://156.56.104.176:6060/axis/services/WSSConnector?wsdl";
rainFall = new WebServiceHandler(rainFallPublisher);
rainFall.setEndPointURI(rainFallPublisherLoc);
computeService = "org.hpsearch.demo.CrisisGridServices.ComputeService";
// should use the following for discovery
// computeServiceLoc = NBDiscover.discover(computeService);
computeServiceLoc = "http://156.56.104.176:7070/axis/services/WSSConnector?wsdl";
compute = new WebServiceHandler(computeService);
compute.setEndPointURI(computeServiceLoc);
crisisGridFlow = new Flow();
crisisGridFlow.addComponents(compute);
crisisGridFlow.addStartActivities(mapSource, rainFall);
crisisGridFlow.start();