I am consuming a Rest Service as Reference in JDeveloper using SOA 12c. This Rest Service in JDeveloper, where the Input is taken as JSON:Object . However the RestReference has input parameters as (value1 String, value2 String) as parameters.
How do I convert JSON:Object that is obtained thru RestService be converted into appropriate value1, value2 as parameters.
Using JSON:Object directly gives error java.lang.String cannot be cast to java.util.Map
I need to convert this JSON:Object and parse it to get values for value1, value2 and pass it to Rest Reference.