Route Widget 3.0 Error

813
12
Jump to solution
02-12-2014 09:19 AM
AimeiChen
Occasional Contributor
I noticed that ESRI's geocoding service and routing service already retired, so I changed the route service and geocode serivce as below in the routewidget.xml
<routetasksolver>http://route.arcgis.com/arcgis/rest/services/World/Route/NAServer/Route_World</routetasksolver>
<reversegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</reversegeocode>
<singlelinegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</singlelinegeocode>

but i kept getting error message "Unable to complete operation...clear and start again or add another valid stop." after typing in my AGOL login info.
Anybody here has same problem? Help, please!

Amy
Tags (2)
0 Kudos
1 Solution

Accepted Solutions
AimeiChen
Occasional Contributor
Amy,

   It might be possible but I can not say. I have never tried to downgrade a widget. Why are you still on a version of the viewer that is six minor releases behind?


Hi, Robert
Just to let you know that I downloaded your Route Widget 3.2 and load it into my 3.0 project, after fixing couple errors, it works perfectly now. Thank you so much for your contribution!!

Amy

View solution in original post

0 Kudos
12 Replies
RobertScheitlin__GISP
MVP Emeritus
Amy,

   I just tested again and it works fine for me once I enter my credentials... What are the addresses you are attempting to route to and from?
0 Kudos
AimeiChen
Occasional Contributor
Amy,

   I just tested again and it works fine for me once I enter my credentials... What are the addresses you are attempting to route to and from?


Thanks Robert for your quick reply. I just noticed in the Address text box, the geocoded address missing state and zipcode. So it's like "1532 Pullan Ave Cincinnati,". Do I need to have my own Geocode service?

Amy
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Amy,

   So it sounds like you are using the map click button to reverse geocode. Do you have the reversegeocode set in the xml?

<reversegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</reversegeocode>
0 Kudos
AimeiChen
Occasional Contributor
Amy,

   So it sounds like you are using the map click button to reverse geocode. Do you have the reversegeocode set in the xml?

<reversegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</reversegeocode>


yes, i do have it in the xml

<reversegeocode>http://geocode.arcgis.com/arcgis/rest/services/World/GeocodeServer</reversegeocode>

Thanks,
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Amy,

   What part of the world are you in? I am not sure why the reverse geocode is not returning state and zip if you are in the US.
0 Kudos
AimeiChen
Occasional Contributor
Amy,

   What part of the world are you in? I am not sure why the reverse geocode is not returning state and zip if you are in the US.


Cincinnati Ohio 🙂
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Amy,

   I am not sure what trouble you are having but when I click on the map in the same location I have no issue.

[ATTACH=CONFIG]31378[/ATTACH]
0 Kudos
AimeiChen
Occasional Contributor
Amy,

   I am not sure what trouble you are having but when I click on the map in the same location I have no issue.

[ATTACH=CONFIG]31378[/ATTACH]


Thanks Robert. i noticed that your widget version is 3.6, are there any difference between version 3.0 and 3.6?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Amy,

   Sure it was not until 3.1.1 that I made the widget compatable with the new route service.
0 Kudos