You may have encountered a bug in ArcGIS Server 10.1 SP1:http://forums.arcgis.com/threads/73456-new-problem-REST-query-10.1-every-other-request-fails-(400-unable-to-complete-oper)?p=256794&viewfull=1#post256794
esriConfig.defaults.io.alwaysUseProxy = true;
I tested all the layers in the service and they all fail on every other get request
This is a known issues with 10.1 SP1, and has been logged as the following bug:[ NIM086349 - Alternate Query (Get) requests fail in Version 10.1 SP1 ]I don't know when this is scheduled to be fixed, but if you contact Support you can be attached to the bug. You can also check the status here:http://support.esri.com/en/bugs/nimb...1/TklNMDg2MzQ5
Samir,It does not appear to be anything with the JSAPI... This seems to work fine: http://jsfiddle.net/shadc/WD6ta/ . All I did is point to another SampleWorldCities service?? Your service or proxy is suspect... ("http://localhost:6080/arcgis/rest/services/SampleWorldCities/MapServer/0") Are you running everything from localhost?-Shad
Can you post your code?Are you using both http and https requests?
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.