Routing Task in iOS

2482
13
08-31-2011 11:35 PM
FrankLin1
New Contributor
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
0 Kudos
13 Replies
FaisalSabri
New Contributor
there is no security configuration of v9.3.1 and v10.0, if this the configuration you mean

i got this error on running from ArcGIS Server 10.0

Error Domain=org.brautaset.JSON.ErrorDomain Code=3 "Unrecognised leading character" UserInfo=0x661e4c0 {NSLocalizedDescription=Unrecognised leading character

i did every thing from restarting the service and remove it and add it again

but i'm still getting error ,

Attached to you the  "Network Layer" Config
0 Kudos
NimeshJarecha
Esri Regular Contributor
Faisal,

I don't see anything unusual but not sure why it's not working for you. Is it possible for you to attach your sample data and mxd so I can publish service at my end and test it?

Regards,
Nimesh
0 Kudos
RajendraShelar
New Contributor
Faisal,

I don't see anything unusual but not sure why it's not working for you. Is it possible for you to attach your sample data and mxd so I can publish service at my end and test it?

Regards,
Nimesh


hi,

i m also getting same error..

any idea
0 Kudos
NimeshJarecha
Esri Regular Contributor
Is it possible for you to attach your sample data and mxd so I can publish service at my end and test it?

Regards,
Nimesh
0 Kudos