Skip to Content
0
Former Member
Mar 31, 2011 at 07:52 PM

0 byte txt file using receiver File Adapter

180 Views

HI,

My scenario is Flat File to Fixed Length File.

Mapping : Based on the condition Reciever node need to generated , In some cases it wont generate any node ( No data )

Receiver Communication channel : I used FCC for Fixed length Format.

Problem : When i am generatingf the receiver file with some data it executes. But when i am generating the file with no data , it fails in the receiver comminication channel.

Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:Message1' found in document', probably configuration error in file adapter (XML parser error)'

I need the receiver file to generate with 0 bytes when there is empty data.

can any one help on this.

Thanks