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


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

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

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

    Thanks & Regards,


    Marius Fernando