Webservice Provider - how to handle large payload

I set up a webservice descriptor (inbound request) to accept a list of invoices which get converted to a flat file and sent to a printer. Everything was ok until I tested a large payload (the xml payload was 170mb). The service couldn’t process a payload this large.

From reading I gather one option is to write the file to the IS server and use an xml node iterator. Is there another option? Is there a way to stream the payload down?

Thanks in advance.

Large file handling is the only option. You cannot have this huge file in memory during process.


xml node iterator logic is the option in this case for handling larger XML payloads: