Hi Experts,
I am working on a fiel to file scenario where in I am writing filename using Dynamic Config in a Java Map.
The output payload is :
<?xml version="1.0" encoding="UTF-8" ?>
- http://www.test.com/triggerfile">
- <Content>
<Data>Name is Dominic</Data>
</Content>
- <File>
<filename>InputFile.txt</filename>
</File>
</ns0:MT_OUT_triggerfile>
Now my requirement is that I need to write the Data in a text file at the receiver end.
I don't need file name in the content of the output file.
Below are the content conversion parameters given.
Recordset Structure : Content,File
Content.endSeparator 'nl'
Content.fieldSeparator 'nl'
File.noOfColumns 0
File.fieldFixedLengths 0
File.fixedlengthTooShortHandling 'Cut'
I am getting an error : *'java.lang.Exception: Column value 'InputFile.txt' too long (>0 for 0. column) - must stop', probably configuration error in file adapter (XML parser error)'*
I am wondering now in the file adapter using FCC can't we suppress unwanted node?
Something missing in the above Config?
Can someone help me on this?
Thanks & Regards,
Dominic