How to cancel all previous Service calls from Service queue?
I have three fields on the screen. On each field value change I am calling a web service to calculate the result. Result is displayed once the response is received.
To achieve this, I am using PPR for these three fields.
But I am encountering a problem. While value change on the first field service is being executed. During the execution of this service, if user changes next field then It waits until first service request is completed. Only after that second request is entertained.
I need to cancel all previous request from the queue and start execution of the latest request.
I believe I need to somehow maintain and access the request pool on service side. Is this possible? I am using Oracle ADF.
Mine objective is to let user experience fast and quick results. For a end user there should be like a single request generated result.
Please help !!