I've few web services APIs based on top-down approach using jax-ws. Now I've to change response structure for one service API along with supporting to older structure too...
Is there any simple way to get it done ???
Any hint will be helpful...
The problem I am facing is detailed as below -
- I've a service which is consumed by some clients - having NAME and CITY in response
- now there is a requirement to change response structure to contain NAME, CITY and STATE
And with new structure I've to support to existing client without any change in their implementation that means I don't have to return STATE for existing consumers.
Thus at the same time I need to return two different response based on consumer identification.
thanks in advance
permaculture is largely about replacing oil with people. And one tiny ad: