public static void main(String[] args) {
//Start your webservice with the bash or the cmd!
ServiceImpl ws = new SumoWebservice().getServiceImplPort();
//optional
ws.setSumoBinary(sumo_bin);
ws.setConfig(config_file);
ws.addOption("start", "");
ws.addOption("step-length", step_length+"");
ws.start("user");
for(int i=0; i<3600; i++){
ws.doTimestep();
ws.vehicleAdd("v"+i, "car", "r1", 0, 0, 13.8, (byte) 1);
}
ws.stop("user");
}