Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-14 Thread Glen Mazza
Glen Mazza wrote Ok, I've looked into it closer. The reason it did not work with CXF 2.7.6 was that Jackson provider is not typed to support application/x+javascript. Setting application/json on JSONP in interceptor is needed to get the runtime successfully selecting the Jackson

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-10 Thread Glen Mazza
On 05/07/2013 05:46 PM, Sergey Beryozkin wrote: --- jsonp example (http://people.apache.org/~gmazza/restexamples/jsonp.html): After deploying via mvn clean compile exec:java, the last cURL statement in the above HTML: 2.7.5-SNAPSHOT returns this error:

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-10 Thread Sergey Beryozkin
Hi Glen On 10/05/13 19:33, Glen Mazza wrote: The entire sample works now: https://github.com/gmazza/jersey-samples-on-cxf/commit/13168735076039ee364441c30d1dbdd6a06522a3 Thanks for spending the time, and for helping to fix few new issues as a result Cheers, Sergey Thanks, Glen On

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-08 Thread Sergey Beryozkin
Glen, the last example does not work because the 3rd test expects the exception message contain the name of exception class removed from CXF 2.7.x, instead of CXF specific ClientWebApplicationException a JAX-RS m10 ClientException is returned. Note, in the latest 2.0 API that will become

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-07 Thread Glen Mazza
Hi Sergey, one out of three samples fixed: On 05/05/2013 02:46 PM, Sergey Beryozkin wrote: Hi Glen On 04/05/13 02:18, Glen Mazza wrote: https-server-glassfish (http://people.apache.org/~gmazza/restexamples/https-server-glassfish): It is related to the previous issue but

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-07 Thread Sergey Beryozkin
Hi Glen On 07/05/13 12:47, Glen Mazza wrote: Hi Sergey, one out of three samples fixed: On 05/05/2013 02:46 PM, Sergey Beryozkin wrote: Hi Glen On 04/05/13 02:18, Glen Mazza wrote: https-server-glassfish

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-05 Thread Sergey Beryozkin
Hi Glen On 04/05/13 02:18, Glen Mazza wrote: Hi Sergey, I republished the blog entry today: http://www.jroller.com/gmazza/entry/jersey_samples_on_cxf, MOXy now works after I upgraded to 2.7.5-SNAPSHOT, but three samples are still stuck at 2.6.7: https-server-glassfish

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-03 Thread Glen Mazza
A similar problem occurs with https-server-glassfish example (https://github.com/gmazza/jersey-samples-on-cxf/tree/master/https-server-glassfish) in upgrading from CXF 2.6.7 to CXF 2.7.4 on latest Glassfish Server 3.1.2.2 following instructions given in README:

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-03 Thread Sergey Beryozkin
Hi Glen Nice to see you working on updating the examples, thanks for that. Please try 2.7.5-SNAPSHOT, this issue should disappear, I updated the client and server runtime to protect itself from multiple RuntimeDelegates floating around, so the foreign JAX-RS Responses are copied to CXF

Re: REST sample works with CXF 2.6.2 but not CXF 2.7.4...

2013-05-03 Thread Glen Mazza
Hi Sergey, I republished the blog entry today: http://www.jroller.com/gmazza/entry/jersey_samples_on_cxf, MOXy now works after I upgraded to 2.7.5-SNAPSHOT, but three samples are still stuck at 2.6.7: https-server-glassfish

RE: Rest Sample

2009-10-22 Thread Sergey Beryozkin
Is CXF JAXRS included ? If yes then it's the good news, I don't know actually, I can see from http://lists.jboss.org/pipermail/jboss-cvs-commits/2009-August/104841.ht ml the cxf-frontend-jaxrs dependency is listed - but I don't know if it is included in the final product. If yes then you