07-08-19 05:28 PM
08-08-19 02:21 AM
09-08-19 01:16 PM
12-08-19 02:36 PM
It is absolutely possible to expose any object or procedure as a web service; however, if the execution will take a long time, you are most likely better off using a different solution architecture to accomplish it - essentially converting it over to an asynchronous call rather than a synchronous one. So instead of the current structure:
Process A: does full processing, exposed as web service
you could structure it as:
Process A.1: Accepts input parameters, putting them onto a queue
Process A.2: Polls for queue items, executes full processing, performs call-back
Or instead of having the callback in A.2, you could create a second web service - A.3 - which allows them to retrieve processing status, making it a proper asynchronous call.
Thank you,
12-08-19 03:01 PM
12-08-19 05:57 PM