Asynchronous Geoprocessing App

Discussion created by lcatania on May 9, 2012
Latest reply on May 23, 2012 by lcatania
I am trying to write an app to display results from an Asynchronous GP Task.  I looked at the Viewshed Example and tried to change that, but that is synchronous and changing the parameters passed and the URL to access my Asynchronous GP Tool results in an "execute operation is not allowed on this service" error, which I found is the result of calling the Asynchronous GP Tool using the .execute method rather than the .submitJob method. 

Other things need to be changed in the code to get check the status of the job and get the results and display them, but I don't really know what to change.  Has anyone done anything like this and would you please post some code?