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.

XMLnode iterator is the better option for IS large file XML handling capabilities to read chunk by chunk (node by node)

Yes always use the stream based mechanism for larger files/getFile/read/write technique.