Share this link

    Home / Tradeshift Documentation / Tradeshift Partner Apps / Babelway / Chapter 4. Channels

    Multi nodes mapping

    1653 0 Created on 2021-01-19 07:50:00; Last updated on 2022-07-01 13:01:37

    Visual mapping is able to map two message definition tree structures, when they have the same fields. This is very valuable when dealing with complex and often similar XML messages like in soap messages, IDOC or UBL…

    To map the 2 structures, drag-and-drop your source structure to the target structure. As you can see in the screenshot, structure nodes can only be mapped on other structure nodes, not on fields.

    mceclip0.png

    Structure mapping - drag-and-drop

    Confirm the operation.

    mceclip1.png

    Structure mapping - confirmation

    As you can see, all the corresponding nodes have been mapped.

    mceclip2.png

    Structure mapping - result

    The multi-nodes mapping will work even if there are additional nodes in one of the 2 structures. These nodes will be ignored.

    But the multi-nodes mapping will ignore nodes that are present multiple times in the structure. Example, if your node Country contains 2 different children named Code, no mapping will be made for fields Code, because it is not clear for the system what is the correct association.

    

    0 people found this helpful.

    Related Articles