Hello Experts,
My requirement is to add doctype dtd definition to the output xml file generated by PI. And the scenario is a File to File with mapping involved and along with the requect xml file i need to send two control files. I opted to do multimapping (1:3) and thought of handling the doctype at the receiver file adpaters (for all the three files - 1 actual, 2 control files and doc type to be added for all the three files).
I created a custom adapter module and deployed it to PI server. When i ran my scenario i see the module is called but the logic is not working and i dont see any error as well the file is getting posted to target location but does not contain the DTD doctype.
Here i am attaching the code and the channel log.
Kindly check and help me with corrections required to code.
regards
Narayanareddy B