How to develop Asynchronous operations (REST) in Custom SOE ?

2662
1
07-30-2015 03:39 AM
PareshPatel2
New Contributor II

Hello Everyone,

I would like to know , how we can develop Asynchronous operations in Custom SOE.

Can you please guide me in direction.

Thank you in advance.

0 Kudos
1 Reply
nicogis
MVP Frequent Contributor

you can use the pattern that use Esri for asynchronous task. You can see, for example, Export Tile ArcGIS REST API where the operation return a jobId and jobStatus. The operation return immediately jobId that you use in subsequent calls to method and when the jobStatus return 'Successed' (completed job) you get result. Your client check every x seconds the status of job.

0 Kudos