cancel
Showing results for 
Search instead for 
Did you mean: 

Converting the XML to JSON

former_member187447
Participant
0 Kudos

Hi Folks,

How should I remove the namespace in the XML to JSON conversion in Advantco REST adapter

<ns0:MT_TEST xmlns:ns0="urn:test.com">

So for example if I have

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_TEST xmlns:ns0="urn:test.com">

   <Test>

      <Node1>123</Node1>

      <Node2>456</Node2>

   </Test>

should be converted to

{

  "TEST":{

        "Node1": "123",

        "Node2": "456"

     }

}

  

I am trying the following in the source Node to target Conversion and its not working

Regards

Kalyan.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member186851
Active Contributor
0 Kudos

Hello Kalyan,

Try giving starting source node as TEST

And source nodes should be left blank I guess.