cancel
Showing results for 
Search instead for 
Did you mean: 

Source xml is in one field

Former Member
0 Kudos

Hi all,

How to do the mapping since all source xml is in one field. I am on PI 71 ehp1.

Thanks Janos

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

The best way to handle this scenario will be using the Java mapping.

Using Java Mapping u have a lot of control on the mapping and u can easily handle ur mapping.

Babu

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi all,

Thanks to all for hints.

I think that java mapping would be the most appropriate solution for my case. Can you please post some code examples? My target structure has three levels in depth.

Thanks, Janos.

former_member200962
Active Contributor
0 Kudos
How to do the mapping since all source xml is in one field. I am on PI 71 ehp1

Is your source structure something like:

<SRC>

<Filed1><Name>SAP</Name><Location>Germany</Location></Field>

</SRC>

i.e. an XML in one node and now you want to separate it into the relevant message structure in XI?

If yes then follow the De-serialization logic as mentioned by Udo in this thread:

Regards,

Abhishek.

Former Member
0 Kudos

Try if this servers your purpose

source field ---> Target root node

right click on source --> Return as XML

jose_augastine3
Active Participant
0 Kudos

Hi Janos,

Use Java Mapping or XSLT Mapping on that field ...

Regards,

J Augastine