Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in NYC Sept 4th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

cCXF PoJo example

Hi
I'm stuck with implementing a route with a cCXF component in PoJo mode.
Is there an example I could use that shows me how to do it?
- Is it better to start with a wsdl or a Bean Interface?
- I read that I have to "attach a jar file with the service, request and response classes". How?
I'd be very grateful for a full example.
Thanks,
Laci
Labels (2)
3 Replies
Anonymous
Not applicable
Author

Anonymous
Not applicable
Author

Hi
yes, of course I've read the documentation, but it is not very helpful.
It would be much more helpful if it would show a POJO example with a user defined class as the parameter of the WebService and how to instantiate it in the route following the cCXF component. (at lease for me 😉
Any help with that?
Thanks
Laci
Anonymous
Not applicable
Author

Ok, I've figured it out.
For those who have the same problem:
Generate your server class and pojos, pack them in a jar and add them with a cConfig to your route.
If you add a cBean to your route after the cCXF then camel automagically does the mapping.