Skip to Content
author's profile photo Former Member
Former Member

Error while trying to process multiple Recordsets in Flat file.

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Feb 09, 2012 at 04:34 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Feb 09, 2012 at 05:06 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.