cancel
Showing results for 
Search instead for 
Did you mean: 

Error while trying to process multiple Recordsets in Flat file.

Former Member
0 Kudos

Hi All,

I am working on Flat File to Flat File scenario and my structure is as follows.

Recordset

Record1

Field1

Field2

Record2

Field3

Field4

|

Record9

Field5

Field6

I am going to receiver multiple Recordsets from my input and need to pass them as output flat file after doing some manipulations in mapping(I am using Java mapping).

In Moni I am able to see multiple Recordset XMLs created but the message is failing in receiver communication channel with error

"Failed to process message content. Reason: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure '' found in document', probably configuration error in file adapter (XML parser error)' (Software version: 3.0.1)"

When I am trying to pass Single Recordset I am able to see the output, but when I am trying with multiple Recordsets it is throwing error.

Can anybody help me in finding the root cause to this problem.

My Receiver channel Content conversion is as follows.

RecordsetStructure: Record1,Record2, -- - - ,Record9

Record1.fieldFixedLengths

Record1.fieldNames

Record1.endSeparator so on till Record9

Regards,

Jayaram.G

Accepted Solutions (0)

Answers (2)

Answers (2)

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You might want to check the following things

Are u specifying field names,separators for Record1,Record2..Record9.

Is you occurence repeats after record1..record9 again?

Change your structure occurence as per the runtime data you provide..

See whether your java mapping modifies the structure that does not match with fcc configuration. You might want to pay attention over there too.

former_member184681
Active Contributor
0 Kudos

Hi,

There was a similar thread here:

Make sure that your mapping works well for multiple recordsets and that the results structure is correct (in the Message Mapping test).

Hope this helps,

Greg