Skip to main content
Source Link
Devdatta Tengshe
  • 41.6k
  • 35
  • 144
  • 263

Consuming an asynchronous Geoprocessing service in ESRI's Flex API

I have been trying to consuming my own asyncronous Geoprocessing service using ESRI's FLEX api, but i am either doing something dumb, or there is some trick involved in getting the results out.

Since it's an asyncronous service, I am using the submitJob()method. The jobComplete event is firing, but the GeoprocessorEvent that i am getting here has a null executeResult.

And if I check using FireBug, I can see that the result is definitely being sent to my browser.

Is there any sample which shows how to get the results from an asyncronous service?

P.S. I am using ArcGIS server 9.3.1 & Flex API 2.1