If a server method is annotated with  @Produces( {MediaType.APPLICATION_JSON,
MediaType.APPLICATION_XML} ) and the client does not provide an Accept
Header, my understanding is that the response MIME type should default to
the FIRST Mime type listed, JSON in this case.  (I believe Jersey works like
this.)  But it doesn't.  It defaults to XML.  Isn't this a violation of the
spec?    

--
View this message in context: 
http://cxf.547215.n5.nabble.com/Why-is-the-default-accept-for-WebClient-text-xml-tp5013707p5030783.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to