Packaged into an AJAX call and using JSONP or a Promise, the callback could deliver the notification. Not sure how the invocation is initiated, what the process does, or what the Windows server uses the process for, but an AJAX call is already geared toward asynchronous processes and callbacks and Promises are S.O.P.

Other, good, out of band notifications have been suggested.

Pete Helgren
GIAC Secure Software Programmer-Java
Twitter - Sys_i_Geek IBM_i_Geek

On 5/12/2017 8:29 AM, Justin Taylor wrote:
I have an internal RPG/CGI webservice that in extreme cases can take 20 minutes to process a request (19+ minutes waiting on external services). Our Windows team (the consumers) right now is just waiting for the webservice to respond, but they want me to change my service to send a notification when it completes.

I can't think of a good way to do this.

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.