Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jax-ws with top-down approach; need to support two response structure for one API  RSS feed

 
mangal shukla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello there,

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...

thanks in advance
 
Hikari Shidou
Ranch Hand
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
as WebService provider for definitions
 
mangal shukla
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Hikari,
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
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!