Hi Iam testing Multimapping with and without mapping.
in Mapping Editor
Source structure:
Messages 1..1
...Message1 1..1
......MT_Combined_file 1:1 DT_Combined_File
........DT_State 1..1
...........State_rec 0..unbounded
........DT_Supplier 1..1
..........Supplier_Rec 0..Unbounded
Target Structure:
Messages 1..1
...Message1 1..1
......MT_State 1:1 DT_State
........State 1..1
..........State_rec 0..Unbounded
...Message2 1..1
......MT_Supplier 1:1 DT_Supplier
........Supplier 1..1
...........Supplier_rec 0..Unbounded
Mapping:
DT_State -
> State
State_rec -
> State_rec
DT_Supplier -
> DT_Supplier
Supplier_rec -
> Supplier_rec
Testing XML taken from test tab and is as follows:
I copied XML from test tab as is and removed <ns0: messages > line.
<ns0:Message1>
<DT_State>
<State_rec>NYC</State_rec>
</DT_State>
<DT_Supplier>
<Supplier_rec>WalMart</Supplier_rec>
</DT_Supplier>
</ns1:MT_Combined_File>
</ns0:Message1>
Could anyone help me what I'm doing wrong. I need to give sample XML to Legacy folks so that they generate XML data to be picked up by File Adapter.
Thanks for any help.