title: CXF: JSON and XML response based on Content-Type
body: <p>I am using the cxf and configured as follows:</p>
  
  <p>'    &lt;jaxrs:extensionMappings><br/>
          &lt;entry key="json" value="application/json" /><br/>
          &lt;entry key="xml" value="application/xml" /><br/>
      &lt;/jaxrs:extensionMappings>'</p>
  
  <p>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...</p>
  
  <p>Any help?</p>