External system is invoking webMethods flow service via http and sending XML. I have to store the whole content into a file system.
I had done this using xmlNodeToDocument, documentToXmlString and stored to file system. Sometimes incoming XML will be huge and converting to String is throwing OutOfMemory Exception.
Is there any way to convert the node into a stream?
I used objectToStream from PSUtilities package but it is throwing java.io.NotSerializableException.