Register / Login
Win a copy of
this week in the
this forum made possible by our volunteer staff, including ...
Stephan van Hulst
CXF: JSON and XML response based on Content-Type
posted 5 years ago
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...
Message for you sir! I think it is a tiny ad:
the new thread boost feature brings a LOT of attention to your favorite threads
Boost this thread!
Urgent !!! Entity bean JDBC connection Problem !!!
How to fill up JSONArray data inside the select tag of JSP Page
JSF backingbean value is null always.
UsernameToken in cxf