I have below requirement.
My input file is having valid and invalid xml messages. Using node iterator, i am writing valid messages to one file and invalid messages to another file. The issue here is when IS service recieves unstructured xml data(Ex;syntax errors)
pub.xml:xmlNodeToDocument is failing due to which it is going to catch block and it is stopping the further execution process. Is there anyway to handle this situation other than putting inner try/catch to pub.xml:xmlNodeToDocument service alone. pub.xml:xmlNodeToDocument should not stop the process.