Re: WebClient - Content-Type Override?

2016-02-16 Thread Sergey Beryozkin
Hi I guess the workaround is required given that 2.7.x is not being released any longer Cheers, Sergey On 16/02/16 18:08, Andrew Clark wrote: Hi Sergey Unfortunately we are currently restricted to using 2.x, we are currently on version 2.7.15. Sent from my iPhone On 16 Feb 2016, at

Re: WebClient - Content-Type Override?

2016-02-16 Thread Sergey Beryozkin
Hi Christian Starting with CXF 3.1.5 (or may be even 3.1.4) you should be able to set a custom Content-Type and it will go on the wire Cheers, Sergey On 16/02/16 17:43, Christian wrote: Hi Sergey, We are facing a similar issue; we are trying to send a GET with a Content-Type header, as the

Re: NullPointerException in OAuthRequestFilter

2016-02-16 Thread Sergey Beryozkin
Hi Jersey is loaded and it is auto-scanning the providers. Are you using Jersey but only would like to use CXF OAuth2 ? if only CXF is meant to be used then you need to disable Jersey somehow, some info is here: http://cxf.apache.org/docs/jax-rs-deployment.html#JAX-RSDeployment-Glassfish but

Re: WebClient - Content-Type Override?

2016-02-16 Thread Christian
Hi Sergey, We are facing a similar issue; we are trying to send a GET with a Content-Type header, as the service called requires it. Just wondering if the workaround with the interceptor is still required? We are trying to set a particular Content-Type (application/json), but it gets stripped

NullPointerException in OAuthRequestFilter

2016-02-16 Thread LaVloZ .
Hello all, how are you?? i've already posted this question on StackOverflow but it seems no one has respond me, so please visit this link to see my question :) http://stackoverflow.com/questions/35420727/cxf-nullpointerexception-in-oauthrequestfilter Thank you :)