I am trying to include the Network Analyst tool into an Android application. I have published the tool on ArcGIS Server and I integrate its URL address to use it. On the same time, I import a MapServer which display my network with all the layers needed to make NA work.

I tried to create a GeoProcessor and to input the tool in it and then execute it, but it doesn't work and I haven't found any clues on the web...

Does anyone has an idea about how to deal with this ?


Are you using a geoprocessing service or are you trying to use the NAServer endpoints? If you are trying to use the NAServer endpoints, I do not see any tasks for Route, ServiceArea, etc. in the API. I do see a gp task, but you will need to be working with a geoprocessing service to be able to use it with the API, not a NAServer service.

| improve this answer | |
  • Ok thanks for the answer ! I will try it this way and create a GP service and see if I can deal with this. – Sam Jul 30 '11 at 17:09
  • So i have created a GP service and published it on my ArcGIS Server. It works well locally.But when I try to import it and use it, it simply don't work. Without any error... I assume that this should come from the parameters I give, but I don't know how to deal with this... Any idea ? – Sam Aug 1 '11 at 19:07
  • Do you have your GP serviced configured the recommended way? Here is how ESRI says to do it:help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//… Did you publish as part of an MXD or as a toolbox? – Jamie Aug 1 '11 at 22:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.