I want to create a REST/JSON service, the service should accept string input, invoke a SOAP webservice, and return the response in JSON format.
The SOAP service returns complex xml structure, the xml needs to be converted into JSON and return to the caller.
I managed to create REST/JSON service using jdeveloper and it works.
I am not sure how to invoke the SOAP service in JAVA, convert the SOAP response into JSON and return to the caller.
The JSON ouput is a copy on SOAP response, I just need to convert SOAP response to JSON.
Can anyone let me know how to design the solution for my problem?