Description
On line 247 of org.apache.cxf.jaxrs.client.ClientProxyImpl in method setRequestHeaders() there is a test
ori.getConsumeTypes().get(0).equals(MediaType.WILDCARD)
which always fails since OperationResourceInfo.getConsumeTypes() returns a list of MediaType, but MediaType.WILDCARD is a String.
Much further along in client code, this results in the JSONProvider rather than the JAXBElementProvider being used as the MessageWriter for content type /