Skip to Content

A deep nested xml in PI

Hi everyone

I have a proxy to AS2 scenario. AS2 receiver is using xml format.

In Proxy, I am taking all fields required for the mapping in one node.

In the target side, this is the structure I need to follow:

<OutboundDelivery>

          <Header>

          <Item>

                    Field A

                    Field B

                    Field C

                    Field D

                    <Node1>

                              Field 1

                              Field 2

                              <Node2>

                                        Field X                                                                                                             

Is this possible to maintain this deep nested structure with xml? Will it work in mapping runtime?

Regards

Harish Babu

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    Dec 26, 2014 at 07:18 AM

    Hi Harish,

    Is this possible to maintain this deep nested structure with xml? Will it work in mapping runtime?


    -->> Yes it is possible through message mapping.


    regards.

    Harish

    Add comment
    10|10000 characters needed characters exceeded

    • If you map one to one from source to target, then your target segment Node 1 and Node 2 will be populated only once.

      If you want to populate them more then once then you need to find the mapping rule for that.