We have a function scenario where in an existing service is being consumed as SOAP. Now after introducing API layer we want to expose RESTFUL services only, However, we cannot change the consumption pattern for existing customers so easily.
In this scenario same service needs to be exposed as REST(for new consumer) and SOAP (For existing Consumers)
What is the best practice to do so?
-
should we create two API proxies -one for SOAP and another for REST?
-
How the URL should be named - should it also have protocol name in URI?
-
What can be the maintenance challenges in this scenario?