Skip to Content

SAP HCI XML to JSON conversion

Hi All,

I am trying to convert incoming message body from XML to JSON format in my inflow using the standard message converter step XML to JSON) provided by HCI .

The problem is it does convert to JSON but I the converter is not aware of XSD for example if there is an array in XSD it’s not adding an empty array of no elements of that array is found.

Can you please guide me if I can use groovy / JavaScript or XSLT which will convert an XML to JSON with XSD awareness. Please note I am not very good at groovy any inputs here will be appreciated.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers