Question
· Nov 24, 2021

How to convert xml string to JSON in Object SCRIPT

Hi All,

I am working in Heath Share Heath Connect Integration.

I have a requirement to change SOAP call to REST call in integration. For SOAP call already payload is ready in XML string. and Working fine.

Now I need to make REST API call instead of existing SOAP call.

I have created REST Business Operation and ready to Call it from Business Process.

Here I should not change any Transformation in Business Process , only change  in Operation invocation

Only change is existing SOAP Operation expecting XML String , new REST Operation is expecting JSON.

How can I convert existing XML String to JSON by calling any Utility function in Object Script.

Thanks

Prashanth

Product version: IRIS 2020.1
Discussion (5)1
Log in or sign up to continue