Cloud Pak for Business Automation

 View Only

How to parse XMLElement

  • 1.  How to parse XMLElement

    Posted Mon May 27, 2024 01:06 PM
      |   view attached

    Hi,

    Below is the response I got when invoking Java external service. output is type of XMLElement.

    <outputRecord type="com.data.ibm.Data" description="Data">
    <Profile type="java.lang.String" description="String">123456789</Profile>
    <name type="java.lang.String" description="String">Tom</name>
    </outputRecord>

    How can I extract values from above XML output?. Is it possible to populate business object this xml output

    Thanks & Regards,

    Chaminda



    ------------------------------
    Marius Fernando
    ------------------------------