cancel
Showing results for 
Search instead for 
Did you mean: 

Multi mapping - with BPM / without BPM

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

former_member206604
Active Contributor
0 Kudos

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

Former Member
0 Kudos

hi. still same problem. payload is as you have given .

-


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

<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>

-


former_member206604
Active Contributor
0 Kudos

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_kantilal
Active Contributor
0 Kudos

Ram

Can you tell us how you solved this issue? Because,I had given a similar suggestion in your thread yesterday and you got no target created .

Please update your thread with the soltuions.

Regards,

Bhavesh

Former Member
0 Kudos

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..

Answers (0)