Re: BingPreview: No message body writer has been found

2017-08-11 Thread Vassilis Virvilis
Thanks for the pointer. I haven't decide if I will deploy it yet. I will try it and see what BingPreview is doing with the subsequent calls. If it is a very big hassle to make it work I will probably leave it as it is altogether. Anyway I didn't know about ContainerRequestFilter so that was

Re: BingPreview: No message body writer has been found

2017-08-10 Thread Sergey Beryozkin
Hi as far as I recall, Jackson provider checks in its isReadable if MediaType is application/json. Have a Pre-Match container request filter which changes content type to application/json if it is a wildcard. Cheers, Sergey On 10/08/17 15:42, Vassilis Virvilis wrote: Hi everybody, I am

BingPreview: No message body writer has been found

2017-08-10 Thread Vassilis Virvilis
Hi everybody, I am using cxf-3.1.7 with jax-rs and JacksonJsonProvider My application works normally but when BingPreview tries to crawl my page I get ERROR 2017-08-10 12:32:51,561 ajp-nio-8009-exec-4: org.apache.cxf.jaxrs.utils.JAXRSUtils.logMessageHandlerProblem(JAXRSUtils.java:1811): No