Skip to Main Content

Cloud Platform

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Converting XML response from SOAP connection to JSON while exposing as REST service in Integration C

Deepak TnFeb 22 2018 — edited Feb 22 2018

Hi,

Im getting XML response from a web service which i fetching through SOAP connections. But finding issue while creating integration to expose data as REST service. Im getting the JSON response from REST like the below.

{

    "getDetails": "<?xml version=\"1.0\" encoding=\"UTF-8\"?><XYZ>\n<PERSON_ID>123456789</PERSON_ID><LAST_NAME>ABCD</LAST_NAME><FIRST_NAME>PQRS</FIRST_NAME>\n</XYZ>"

}

How to convert this xml response to JSON format while mapping data in integration cloud services. As i have to use REST service in Oracle VBCS to fetch the data.

Comments
Post Details
Added on Feb 22 2018
0 comments
322 views