Willem,

 I tried changing the signature to List<List&lt;Book>> getBooks(); but that
didn't work. So I tried creating a wrapper class that wraps the List<Book>
and named it Books and changed the method to Books getBooks(). But still I
am getting the ClassCastException as follows:

org.apache.cxf.interceptor.Fault: org.test.cxfws.domain.Book cannot be cast
to org.test.cxfws.domain.Books

Thanks.



--
View this message in context: 
http://camel.465427.n5.nabble.com/Getting-ClassCastException-in-Camel-route-while-handling-response-containing-java-util-List-tp5745393p5745434.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to