Quantcast
Channel: SCN : Unanswered Discussions - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 6719

Message Mapping - Position Field to Header Field

$
0
0


hello,

 

i need to map one Position field into one Header field.

with n-records on the left site it always maps the position field of record 1 into all n-idoc Header fields.

 

<record1>

    <headerfield1>1</headerfield1>

    <position>

          <positionsfield1>1</positionsfield1>

    </position>

    <position>

          <positionsfield1>1</positionsfield1>

    </position>

    <position>

          <positionsfield1>1</positionsfield1>

    </position>

</record1>

<record2>

    <headerfield1>2</headerfield1>

    <position>

          <positionsfield1>2</positionsfield1>

    </position>

    <position>

          <positionsfield1>2</positionsfield1>

    </position>

    <position>

          <positionsfield1>2</positionsfield1>

    </position>

</record1>

 

Problem exists with positionfield1. we Need to map that field into a Header idoc field. so a simple n...to 1 mapping.

every record builds one idoc. actually the second idoc is filled with positionfield1 out of record1.

 

<idoc1>

<headerfield1>1</headerfield1>

<headerfield2>1</headerfield1>

</idoc1>

 

<idoc1>

<headerfield1>2</headerfield1>

<headerfield2>1</headerfield2>

</idoc2>

 

any idea?

thanks


Viewing all articles
Browse latest Browse all 6719

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>