Hello Experts,
I am trying to convert a CSV file into XML file and then pass this XML file (without any mapping) to a target folder.
I tried using FCC in the sender File channel but it resulted in an invalid XML file getting generated in the target
For ex. If my Source CSV file is of 5.5 MB then the target file is of 13 MB (which should be fine considering the XML tags getting added) but with an incomplete XML structure.
I am giving more details about the settings which I did in the channel and a sample of the data which I want to convert:
Requirement

Sender Channel Configuration
Poll Interval (secs) = 100

Can you please let me know what should I do to get a complete XML file in the target with all the data getting converted properly?
Thank you!
Help others by sharing your knowledge.
AnswerRequest clarification before answering.
Dear,
Notepad is to be blamed here! The file was getting generated with complete structure.
It was however, the Notepad which truncated data after certain length. I used Notepad++ for this and the file with all the necessary fields was there already.
Thank you for taking time out and supporting on this issue!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Abhishek,
What's the error you are getting?
Thanks.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Aamir,
There is no error. However when I open the generate file, it is not a valid XML as it does not contain the end tags.
I have done FCC earlier as well. The problem that I see is because of the number of records and also that I cannot split the file and it has to be transferred as a single file.
Any inputs what needs to be done?
Thank you!
Hi Abhishek,
XML file is getting created correctly.
All the 3 records are there in the XML file. The first line in file is header line and it is being skipped because you have mentioned "Document Offset" as 1.
Thanks,
Aamir
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.