on 05-22-2007 4:21 PM
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
how does your mapping look alike?
you have to map the tag ROW as well.
regards,
robin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
26 | |
9 | |
9 | |
7 | |
6 | |
4 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.