cancel
Showing results for 
Search instead for 
Did you mean: 

Mapping Issue

Former Member
0 Kudos

I have pulled in a CSV file with the FILE adapter. I am doing mapping and then outputing to another file in xml format. My xml going into the integration engine looks like...

<b> <?xml version="1.0" encoding="utf-8" ?>

- <ns:MT_INPLAIN xmlns:ns="http://companyname.com/sapxi/edhr/vendordata">

- <ns:Recordset xmlns:ns="RECORDSET">

- <ROW>

<name>Ralph</name>

<date>f</date>

<car>Chevy</car>

</ROW>

</ns:Recordset>

</ns:MT_INPLAIN></b>

and the outgoing xml is...

<b><?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_OUTPLAIN xmlns:ns0="http://companyname.com/sapxi/edhr/vendordata"></ns0:MT_OUTPLAIN></b>

It appears that i have some sort of data-type setup incorrectly or i have my Occerences (0...unbound) setup incorrectly...

My datatype are below...

DT_INPLAIN - complex type

-> ROW - element 0...unbounded

->name - element xsd:string 1

-> date - element xsd:string 1

-> car - element xsd:string 1

DT_OUTPLAIN - complex type

-> ROW - element 0...unbounded

->namecar - element xsd:string 1

-> date - element xsd:string 1

-> car - element xsd:string 1

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Ford,

In your sender file communication channel specify the parameter ignoreRecordsetName as true. Then you once again check. Also check your mapping using this weblog:

/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios

---Satish

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

how does your mapping look alike?

you have to map the tag ROW as well.

regards,

robin