A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
EJB 3 in Action
this week in the
EJB and other Java EE Technologies
CXF: JSON and XML response based on Content-Type
Joined: Jul 23, 2007
Feb 12, 2012 20:36:07
I am using the cxf and configured as follows:
<jaxrs:extensionMappings> <entry key="json" value="application/json" /> <entry key="xml" value="application/xml" /> </jaxrs:extensionMappings>
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...
subject: CXF: JSON and XML response based on Content-Type
JSF backingbean value is null always.
Urgent !!! Entity bean JDBC connection Problem !!!
UsernameToken in cxf
How to fill up JSONArray data inside the select tag of JSP Page
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014