permaculture playing cards
The moose likes Web Services and the fly likes CXF: JSON and XML response based on Content-Type Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "CXF: JSON and XML response based on Content-Type" Watch "CXF: JSON and XML response based on Content-Type" New topic
Author

CXF: JSON and XML response based on Content-Type

subodh gupta
Ranch Hand

Joined: Jul 23, 2007
Posts: 203
I am using the cxf and configured as follows:



So, i have verified that the content headers are right and the response to the interceptor is returned as the xml but after that client always getting the JSON response irrespective of header...

Any help?


http://subodh-gupta.blogspot.com
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: CXF: JSON and XML response based on Content-Type
 
It's not a secret anymore!