mSpecies = new HashMap<Integer, SpeciesZoneType>();
}
public SimulationEngine(String url) {
IN3DServiceProxy proxy = new IN3DServiceProxy();
// Read properties file.
Properties propertiesLogin = new Properties();
propertiesConfig = new Properties();
try {
propertiesLogin.load(new FileInputStream("src/simulationEngine/config/webserviceLogin.properties"));
user = new User();
user.setUsername(propertiesLogin.getProperty("username"));
propertiesConfig.load(new FileInputStream("src/simulationEngine/config/SimulationEngineConfig.properties"));
proxy.setEndpoint(url);
System.err.println("web service url for SimulationEngine:"+url);
// proxy.setEndpoint(propertiesConfig.getProperty("stagingurl"));
// proxy.setEndpoint(propertiesConfig.getProperty("devurl"));
svc = proxy.getIN3DService();
} catch (IOException e) {
e.printStackTrace();
}
mSpecies = new HashMap<Integer, SpeciesZoneType>();