cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass node value to a field PI message mapping

former_member223435
Participant
0 Kudos

Hi,

How to pass a node value to the target field in message mapping?

For ex:

<A>

1

<B>2</B>

</event>

Now how to pass value "1" to target field?

Please help.

Thanks.

Accepted Solutions (0)

Answers (5)

Answers (5)

KarthikBangeraM
Active Participant
0 Kudos

Hi Remo,

Your xml is not well formed. Kindly get the xsd validated with the business.

Regards,

Karthik

former_member186851
Active Contributor
0 Kudos

Hello Remo,

<Status>A</emplStatus> how open and close tags are different.

Please post the messge type screenshots or message mapping screenshots

former_member223435
Participant
0 Kudos

Hi,

i dont have full xml, i.e. its only input xml i have:

<?xml version="1.0"?>

<employee>

<Status>A</emplStatus> <date>2016-10-11</date>

<success>1 <fail>3</fail> </success>

<textpassed>false</textpassed>

</employee>

former_member186851
Active Contributor
0 Kudos

Hello Remo,

Your XML is not well formatted.

Post the Source structure and mapping screenshots.

former_member223435
Participant
0 Kudos

Hi Raghu,

simple one to one not posting the value ie."1" only oming blank one.

former_member186851
Active Contributor
0 Kudos

Hello,

can you post input and output XMLs for more understanding.

simple one to one mapping should work.