Hello,
I am converting IS document to xml Node for routing the document to TN.
I am doing the following step for routing the document.
[B][FONT=Arial Narrow][SIZE=2][B][FONT=Arial Narrow][SIZE=4]
pub.xml:documentToXMLString
[/size][/font][/b]
[/SIZE][/FONT][/B][B][FONT=Arial Narrow][SIZE=4]
pub.xml:xmlStringToXMLNode
[/size][/font][/b][FONT=Arial Narrow][SIZE=4]
[LEFT][/size][/font]
[/LEFT]
documeneToXMLString takes around 2 minutes to convert Document to XML String for around 50 K of sales Invoice records…But this above code is failing at xmlStringToXMLNode service . The IS is getting hanged and only option I have is to kill the IS java process and Sometimes I gives me out of Memory Error. I found couple of post stating to work with node iterator instead of loading entire document.
I guess pub.xml:getXMLNodeIterator and pub.xml:getNextXMLNode would not work in my case !!
How can I work with node iterator in my above case.
Also is their any other efficient way in which I can route the document to TN.
#webMethods#Flow-and-Java-services#Integration-Server-and-ESB