We receive large xml file from out clients. I have written service that reads one node and converts it to a document. The document is appended to a document list. When the list of nodes read is 20 , I publish one document. This goes on till all the nodes are read.
My problem is if one of the publish fails what kind of error catching faciltiy should I code.
I was suggested that I use the join condition in the trigger, but then I am publishing mutli copies of only one document type and there can be many documents like that.
Can anyone suggest anything