This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
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
 
 
subject: CXF: JSON and XML response based on Content-Type
 
Similar Threads
How to fill up JSONArray data inside the select tag of JSP Page
UsernameToken in cxf
Urgent !!! Entity bean JDBC connection Problem !!!
JSF backingbean value is null always.
ContentNegotiatingViewResolver