Hi Romain,

Can we add TomEEJsrProvider({"application/json", "application/*+json"}) as
well 'cause below code is throwing error

No message body reader has been found for class javax.json.JsonObject,
ContentType: application/vnd.companyname.appname.v1+json

JsonObject object = ClientBuilder.newClient()
                                         
.target("http://www-verification.qantas.com.au/api/offers/airports";)
                                         .request()
                                         .get(JsonObject.class);

Thanks,
Ravi



--
View this message in context: 
http://tomee-openejb.979440.n4.nabble.com/Tomee-7-0-0-M2-JaxRs-Client-No-message-body-reader-has-been-found-for-class-ContentType-application-n-tp4677664p4677685.html
Sent from the TomEE Users mailing list archive at Nabble.com.

Reply via email to