Skip to Content
0
Former Member
Dec 12, 2007 at 07:17 AM

Mapping Issue ::(

23 Views

Hi Folks,

I have two structures Source and Target :

Source Structures contains Header Line as well as Multiple Line Items..

In target structure i want to push all the Line Item data with Header Line data source structure into one record of target structure so. for n line items i want to generate n Records for Target structure..

It seems simple....but i don't know where i am missing..

I have made occurence of target structure node as 1...many

Simlarly Source Structure node is also one to many but not headerline..

*********************************************************************

Source Stucture

<Data>

<F1>H</F1>

<F2>H</F2>

<LineItem>

<L1>1</L1>

<L2>2</L2>

</LineItem>

<LineItem>

<L3>3</L3>

<L4>4</L4>

</LineItem>

</Data>

*****************************

Expecting this output after message mapping..

<Data>

<F1>H</F1>

<F2>H</F2>

<L1>1</L1>

<L2>2</L2>

</Data>

<Data>

<F1>H</F1>

<F2>H</F2>

<L3>3</L3>

<L4>4</L4>

</Data>

Let me know if some other informations are required..

Regards,