{
DarRequest request = new DarRequest();
request.setMapId("map1234");
for (int s=0; s<5; s++)
{
ServiceRequest serviceRequest = new ServiceRequest();
Stop up = new Stop();
up.setNode(new Double(Math.random()*1000).intValue());
up.setTime(XMLGregorianCalendarHelper.convert(new GregorianCalendar()));
Stop down = new Stop();
down.setNode(new Double(Math.random()*1000).intValue());
down.setTime(XMLGregorianCalendarHelper.convert(new GregorianCalendar()));
serviceRequest.setFrom(up);
serviceRequest.setTo(down);
serviceRequest.setPeople(new Double(Math.random()*3).intValue()+1);
serviceRequest.setId("Req" + s);
request.getRequests().add(serviceRequest);
}
for (int b=0; b<2; b++)
{
Bus bus = new Bus();