Showing results for 
Search instead for 
Did you mean: 

Mapping query regarding same structure but only the difference is node name

Active Contributor
0 Kudos

Hi Experts,

I already done the mapping for MessageSale node, it got 25 different sub nodes, i need to map exact same mapping for other node called MessageRefund, these two exactly same sub nodes only difference is node name.

I need to redo all the mapping again for MessageRefund, is there any way i can do the same for both??

The sorce structure look like beow.



<25 different nodes>


< all 25 same nodes as MessageSale >




Accepted Solutions (1)

Accepted Solutions (1)

Active Participant
0 Kudos

if the referenced datatypes of <MessageSale> and <MessageRefund> elements are same, then you can use Mapping Templates.

Answers (1)

Answers (1)

Active Contributor
0 Kudos


In java mapping this is easily done by copying child structure of a particular node. Since you are following message mapping you need to redo all mapping for MessageRefund. There is no other way you can achieve this.