Select to view content in your preferred language

Multiple Calls to geometry service and query does not return data ArcGIS 10

547
1
12-14-2011 08:09 AM
FranciscoBereciartu
Occasional Contributor
Hi all,

I'm working with ArcGIS Server 10 and Flex API 2.4. When I select a geometry from a map, I create a Buffer using the geometry service of the server, but when I call the service multiple times the services does not response neither throw an error (e.g. time's up). I found a solution that it worked at the begining but it didn't that was setting the concurrency parameter to "multiple". I've tried creating new instances but it did not work at all. It seems like Flex does not do the call and try to use the cache because in the server's log it does not appears a new call to the geometry service. That same behavior occurs when I try to do a query to a layer using the genericjsontask object. How can I work around those errors? is the map? services??? what event can tell me that the geomerty services or the query is not responding???

Thanks in advance!
Frank
Tags (2)
0 Kudos
1 Reply
DasaPaddock
Esri Regular Contributor
Try setting requestTimeout and then you should get an error if it doesn't respond in time:
http://help.arcgis.com/en/webapi/flex/apiref/com/esri/ags/tasks/BaseTask.html#requestTimeout
0 Kudos