Select to view content in your preferred language

does Route task API support 9.3.1 Route REST Service

866
1
10-23-2011 04:34 PM
RajendraShelar
Deactivated User
i want to access 9.3.1 Routing Rest service (i.e. http://myGIS/arcgis/rest/services/RoutingService/NAServer/Route

but using iOS 2 SDK i m getting error after route task execute as below (i m using routing sample code available on resource center.:

There was an error in generation XML document, NSURL = http://myGIS/arcgis/rest/services/RoutingService/NAServer/Route/solve?f=josn

but when i access this url in browser then it is giving following error

{"error":{"code":500,"message":"Object reference not set to an instance of an object.","details":[]}}..


please help asap.

thanks
0 Kudos
1 Reply
NimeshJarecha
Esri Regular Contributor
Yes, ArcGIS Server v9.3.1 Route service is supposed with ArcGIS for iOS SDK? Which version of Apple iOS SDK are you using? Is route service secured? Are you able to execute route task from REST end point in browser?

Regards,
Nimesh
0 Kudos