I've fixed a minor issue with the in interceptor

https://issues.apache.org/jira/browse/CXF-5558

other than that the code looks OK to me,

Thanks, Sergey
On 12/02/14 17:10, Sergey Beryozkin wrote:
Hi
On 12/02/14 10:40, huangyong wrote:
Hi,

I found a problem in CXF 2.7.8 and 2.7.9 about JSONP, but in 2.6.9 is OK.

Belowing is my maven pom.xml:

<dependency>
     <groupId>org.apache.cxf</groupId>
     <artifactId>cxf-rt-frontend-jaxrs</artifactId>
     <version>${cxf.version}</version>
</dependency>
<dependency>
     <groupId>org.apache.cxf</groupId>
     <artifactId>cxf-rt-rs-extension-providers</artifactId>
     <version>${cxf.version}</version>
</dependency>
<dependency>
     <groupId>org.codehaus.jettison</groupId>
     <artifactId>jettison</artifactId>
     <version>1.3.5</version>
</dependency>

I have used JsonpInInterceptor in the InInterceptors and
JsonpPreStreamInterceptor/JsonpPostStreamInterceptor in the
OutInterceptors.

In the 2.7.8, the problem is "No message body writer has been found for
response class ArrayList".
Apparently CXF 2.7.8 had a regression around dealing with parameterized
types, reported few times
In the 2.7.9, the JSON data is ok, but not found callback function.
In the 2.6.9, it is OK!

Can you tell me, how I can use the JSONP feature in the 2.7+?

Can you provide more info please, how do you configure it in CXF 2.6.9

Thanks, Sergey

Thanks a lot!



--
View this message in context:
http://cxf.547215.n5.nabble.com/JSONP-is-not-works-tp5739858.html
Sent from the cxf-user mailing list archive at Nabble.com.





--
Sergey Beryozkin

Talend Community Coders
http://coders.talend.com/

Blog: http://sberyozkin.blogspot.com

Reply via email to