I've been experimenting with OSM2PO which is a great little peace of software. Right now though, I'm fumbling with the SOAP WS which I'm trying to use from a JEE web application. I'm not having any trouble to setup the call to the webservice and can call upon one of the two webmethods described in the WSDL : findClosestVertexId() and findRoute(). Finding a close-by vertex ID from coordinates is no trouble at all but calling findRoute() is somewhat puzzling me as it takes four parameters : the two start and end points of the route and - RouterID (integer) and parameters (String). My question is : what do I put in those last two? I'm asking because actually I'm not getting anything from findRoute(). I've been trying something like
findRoute(myStartVertexID,myEndVertexId,1,"") but the List<RoutingResultSegment> I get is desperatly empty (getLength() returns 0!). I'm guessing this is because I'm misusing the findRoute() method and not putting proper parameters in the method call.
Anybody experiencing the same problem?