on 08-24-2006 5:23 AM
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>
<ns1:MT_Combined_File xmlns:ns1="http://bpm.split.com">
<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.
Hi,
take this part
<ns1:MT_Combined_File xmlns:ns1="http://bpm.split.com">
<DT_State>
<State_rec>NYC</State_rec>
</DT_State>
<DT_Supplier>
<Supplier_rec>WalMart</Supplier_rec>
</DT_Supplier>
</ns1:MT_Combined_File>
ignore <ns0:Message1> this will be generated at runtime.
Thanks,
Prakash
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ram,
You test this payload after doing the configuration. Do not test it in the IR design time. Save this as XML file and do the configuration to pick up the file this will work. Or test it in ID Tools->Test scenario. This will work.
The Message tag is generated because of Multi mapping.
Thanks,
Prakash
Bhavesh,
I did cut and paste what Prakash gave basically removed all ns0. I'm still having another issue .. I'm doing mapping within BPM ( Abs interface to Abs Interface ). There 2 SEND steps as Iam doing split.
In the workflow log
Send1 ( Work flow system completed )
Send2 ( Work flow system ) logically deleted.
ummm. Have to research whats wrong with Send2 though.
Truly Appreciate all your help..
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.