Wednesday, 2 December 2015

arcgis server - Is there a RESTful way to cancel a GP Job?


I have an asynchronous gp service that I can successfully run and cancel from within Arcmap.


Using fiddler I see that arcmap communicates with the GP service via SOAP.


I'd like to cancel the job using a REST request. However I don't see anything in the documentation for the GP Job describing how to do this.


Does anyone know if there's a RESTful way to cancel a job?



If not, would there be any bad side effects from writing another web service that scans the log file(s) to find the PID of the gp job then kills the process? (The gp service is configured non-pooled).


Update ESRI support confirmed no RESTful cancel method (incident #879881). They suggested using the SOAP cancelJob method instead.




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...