cancel
Showing results for 
Search instead for 
Did you mean: 

Create Empty Messages --Not working

Former Member
0 Kudos

Hi All,

Iam trying to perfom file to file with content conversion

when there is an empty file is coming from source, i have to process it and create the file in target with empty file.

I setup the setting at sender file adapter saying that process empty file and in receiver file adapter i said that create empty messages.

i used FCC at sender side and it is failing in MONI saying that Parsing an empty source. Root element expected!

Regards

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

i used FCC at sender side and it is failing in MONI saying that Parsing an empty source. Root element expected!

If there is an empty file, then there is no XML available for parsing. So, in this case your mapping will fail.

The best option is to write Java or XSLT mapping or write a module which will check for the empty file, and if that's the case it will write an XML with no values in the contents / fields.

Hope this helps.

regards,

Neetesh

Former Member
0 Kudos

Hi,

Okay, i just want to make sure that it is failing because of it is expecting the root element while using the FCC.

Then i can choose alternative for this

Regards

Answers (0)