cancel
Showing results for 
Search instead for 
Did you mean: 

SAP HCI XML to JSON conversion

former_member379628
Discoverer
0 Kudos

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.

Thanks

Krishna

Accepted Solutions (0)

Answers (0)