jmlovelypeople

Routing Task in iOS

Discussion created by jmlovelypeople on Aug 31, 2011
Latest reply on Oct 28, 2011 by njarecha-esristaff
Hi,I'm using the sample from arcgis online samples(RoutingSample),
i changed the url to my custom url:
"http://10.211.55.4/ArcGIS/rest/services/g/NAServer/Route"
(the service runs in paralles and access from mac)
finally it comes with an error when "[self.routeTask retrieveDefaultRouteTaskParameters]"
Error:
RoutingSample[727:207] Error: Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Unrecognised leading character" UserInfo=0x6223540 {NSLocalizedDescription=Unrecognised leading character}

(But the url works with api for js.)
Thanks!
Frank

Outcomes