java – Access Restful web service by using soap web service using spring boot

There are 2 applications. one application using soap(app1) and other application using rest(app2). I want to communicate b/w two services by using spring boot.

scenario – send a request to app1(soap based application), that soap(xml) based input we have to convert to json and call app2(rest based application). that json response again convert it into soap based format and send as a response for app1.

How we can tranform soap based i/p to json and json to soap based xml.

Read more here: Source link