1

I'm using node xml-js package for converting my response soap xml data to json. As json object I get this output.

{
  "SOAP-ENV:Envelope" : {
     "SOAP-ENV:Body": {
       "ns:anotherTitle": ...
    }
  }
}

and so on. What I want to do is remove this SOAP-ENV:, ns: for better json structure. How do I achieve this?

Thanks a lot.

tron
  • 113
  • 3
  • 10

0 Answers0