‎2017 Aug 17 4:43 PM - edited ‎2024 Feb 04 12:36 AM
Friends
I have a SOAP/XML message as output from an external SOAP web service, which I need to convert into JSON in XSJS. This XML message has name spaces. All the examples I see are very basic XMLs.
Could someone share some examples? or any suggestions?
Regards
Giri
Request clarification before answering.
Mr. Giri,
the XS engine (Classic version) has a library for XML parsing. See is this helps your scenario
https://help.sap.com/http.svc/rc/3de842783af24336b6305a3c0223a369/2.0.01/en-US/$.util.SAXParser.html
if you are working on the XS advanced scenario, there may be an npm module that handles XML parsing (with namespaces, etc)
maybe you can show a little bit of your xml payload.. there may be other options that some one else in the community has dealt with it.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 7 | |
| 6 | |
| 6 | |
| 4 | |
| 4 | |
| 4 | |
| 3 | |
| 3 | |
| 3 | |
| 3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.