on 02-17-2010 3:13 PM
Dear all,
I have a receiver FTP adapter with content conversion. In RWB I'm facing following error message:
Adapter Framework caught exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Consistency error: more fields found in XML structure than specified in conversion parameters! (Value 'FCOTUPI')', probably configuration error in file adapter (XML parser error)'
The field with value FCOTUPI could be found in POS recordset. I double check the length of columns but couldn't find
an error.
CC configuration:
Recordset structure: HEADER,POS,SUBPOS
HEADER.fieldFixedLengths = 8,4,8
POS.fieldFixedLengths = 8,20,15,3
SUBPOS.fieldFixedLengths = 5,5
HEADER.fixedLengthTooShortHandling = Cut
POS.fixedLengthTooShortHandling = Cut
SUBPOS.fixedLengthTooShortHandling = Cut
As you can see by the names, I am using as XML to convert a structure with subnodes. In documentation it said
that it is not allowed, but in some threads I found the information that structure could be processed.
Any ideas how to solve this problem?
Thanks
Chris
Hi,
Did u chk this:
/people/shabarish.vijayakumar/blog/2007/08/03/file-adapter-receiver--are-we-really-sure-about-the-concepts
Thanks
Amit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Amit,
thanks for your answer. I already checked this blog, but hoped for other solutions.
My problem: I tried to map my hierarchical structure to a flat structure.
Source
Struc1 (0..unbounded)
-Item1.1
-Struc2 (0..unbounded)
--Item 2.1
--Struc3 (0..unbounded)
---Item3.1
Target:
Struc1 (0..unbounded)
-Item1.1
Struc2 (0..unbounded)
-Item 2.1
Struc3 (0..unbounded)
-Item3.1
But if e.g. the Struc2 appears two time it will be created two time in target structure before
the Struc3 is created. But ths Struc3 belongs to Struc2 and should be created in flat file under
Struc2 directly.
How can we created a flat structure like this
Struc1
Struc2
Struc3
Struc3
Struc2
Struc3
Thanks
Chris
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.