Service SOAP End Requestor when done
I have SOAP Service configured as Stateful and End Requestor when done flag checked.
This service may return 1 record or 5000 records based off a query, if it tries to return 5000 records I need to send results in a batch of 1000 records, without re-executing the DB query.
Was thinking if the consumer can call this service multiple times and we return the results from clipboard, when the final batch is sent we will end the requestor.
Is there a way we can conditionally control Ending the Requestor ? (mapped to pyCloseRequestor)
- Tried updating this in Service Activity - didn't help
- Cannot call Code-Security.EndSession (as response mapping will error out)
- Cannot use 2 service soaps doing the same work with the second one called towards the end and which has End Requestor checked - as I need to ensure there are no stale requestors (for scenarios having 1 record)
Any suggestions ?