cancel
Showing results for 
Search instead for 
Did you mean: 

No messages created from split mapping - Multimapping

Former Member
0 Kudos

Hi,

Getting the error in MONI saying that : No messages created from split mapping

Sender is :

<Purchase>

<Number>007</Number>

<Desc>RAJ</Desc>

<Quantity>half</Quantity>

</Purchase>

Target should be 3 files such as:

<Purchase>

<Number>007</Number>

<Desc>RAJ</Desc>

</Purchase>

<Purchase>

<Number>007</Number>

<Quantity>half</Quantity>

/Purchase>

<Purchase>

<Desc>RAJ</Desc>

<Quantity>half</Quantity>

</Purchase>

Regards,

Y.Raj.

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Thanks for your all replies...

Former Member
0 Kudos

go to signature tab in mapping and change occurrence of target message to 0..unbound..

former_member200962
Active Contributor
0 Kudos

Hi,

In your mapping select the cardinality of source message as 0..1 while that of target message should be 0..unbounded.

Also since you are not using all the elements of source into all the target messages (seems using only two source elements in each target msg) do the mapping accordingly...i doubt whether you can achieve your requirement in one mapping itself....may be you will have to follow what Tarang mentioned:

3. have 3 mappings between source structure and MT1(map only num,dec), source struc and MT2(map num,Qty) ....

Exception to above statement:)

If you set the target cardinality as 0..unbounded then duplicate the root target node thrice (as per your requirement)....and then map each target section seperately....

Regards,

Abhishek.

Edited by: abhishek salvi on Apr 7, 2009 9:12 AM

Former Member
0 Kudos

Hi,

Test your message mapping in Repository directly in test mode with same payload. Check if its generating any output.

Nilesh

former_member206760
Active Contributor
0 Kudos

1.create 3 target message types, one for each file that you have specified

2.create 3 inbound MI , one for each message type

3. have 3 mappings between source structure and MT1(map only num,dec), source struc and MT2(map num,Qty) ....

3. create one receiver determination...add 3 receivers to it

4. create 3 interface determinations and 3 receiver agreements

VijayKonam
Active Contributor
0 Kudos

You have to take care of the contexts and also the root node mappings.

VJ