Select to view content in your preferred language

Closest Facility Error 400- invalid URL

2147
1
06-16-2010 08:43 PM
MohammedAlSharif
Deactivated User
Hi All,

I try to use the network closest facilities to solve the route from incident to the closest facility put it gave me this error Closest Facility Error 400- invalid URL. Can you help me in that and i will appreciated

Thanks and Regards,
Mohammed 🙂
Tags (2)
0 Kudos
1 Reply
DmitryKudinov
Regular Contributor
Hi Mohammed,

Please take a look at this Closest Facility sample here: http://help.arcgis.com/en/webapi/flex/samples/index.html?sample=ClosestFacility

Please also note the Closest Facility REST endpoint this sample makes use of:
http://sampleserver3.arcgisonline.com/ArcGIS/rest/services/Network/USA/NAServer/Closest%20Facility

if you are planning to point at your own CF service, you can open REST services directory
at http://<your_server>/ArcGIS/rest (for .NET Server) and http://<your_server>:8399/arcgis/rest/ (for Java Server) and browse to the Closest Facility layer you are going to use. Just copy this URL into your ClosestFacilityTask instance.

Dmitry
0 Kudos