We have to design following script:
- App A sends an xml file through REST to App B which puts this xml file on queue. The queue is read automatically and once picked up mainframe DB2 tables are read/updated. Once the complete xml file is processed on DB2 level, a response (xml file) is sent back to App A with the results.
My question: how do we have to handle/script the response xml not knowing when the batch processing will be finished?
Moreover we need to check inside the response xml if there are no functional error codes (I guess we can use Validation feature for this).