We have a system which has been in development for 10+ years and still continues. It is built as an SOA and use SOAP. We have a new client, internally within our company, who wants to integrate with our application. Since JSON and REST are the sexy and new thing, they want to communicate with us using HTTP, following REST and JSON as the Data Exchange Format. This is fine and no problem.
The questions I need to answer to myself in order to make an informed decision are the following:
- Should we expose the services and provide JSON? This means development within our system or possibly a thin layer on top of our SOAP services.
- We have an ESB within our enterprise. Should we just ask the client to connect to the ESB, which will call our SOAP endpoint, receive an envelope, transform it and return it as JSON to the client. This means development within ESB.
- Do 1 above and in addition, ask the client to connect to the ESB to avoid Point-to-Point integration.
I was hoping someone out there, preferably architects with years of experience will help me arrive at a conclusion which will make our system ready for a better future.