Skip to Content
avatar image
Former Member

How to pass node value to a field PI message mapping

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

5 Answers

  • avatar image
    Former Member
    Oct 21, 2016 at 09:54 AM

    Hi Raghu,

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

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2016 at 09:44 AM

    Hello,

    can you post input and output XMLs for more understanding.

    simple one to one mapping should work.

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2016 at 10:16 AM

    Hello Remo,

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

    Please post the messge type screenshots or message mapping screenshots

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2016 at 10:12 AM

    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>

    Add comment
    10|10000 characters needed characters exceeded

  • Oct 21, 2016 at 06:28 PM

    Hi Remo,

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

    Regards,

    Karthik

    Add comment
    10|10000 characters needed characters exceeded