You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@camel.apache.org by semecamel <di...@gmail.com> on 2012/06/11 17:09:36 UTC
Web Services calls via camel not working (Class cast exception)
I have a web service which I published via cxf endpoint and added to my camel
context in spring xml file.
My web service method returns an object. I created a Processor class to do
actual work.
How I can return an object after calling my cxf endpoint?
I am getting class cast exception.
I am trying everything, but it is not working, I always get class cast
exception
Here is my sample route
<camel:route id="loanBrokerRoute">
<camel:from uri="cxf:bean:wscamel"/>
<camel:process ref="orderProcessor"/>
<camel:process ref="preOrderProcessor"/>
</camel:route>
--
View this message in context: http://camel.465427.n5.nabble.com/Web-Services-calls-via-camel-not-working-Class-cast-exception-tp5714293.html
Sent from the Camel - Users mailing list archive at Nabble.com.
Re: Web Services calls via camel not working (Class cast exception)
Posted by Claus Ibsen <cl...@gmail.com>.
Hi
If you read this page, you get some pointers how to ask for help.
http://camel.apache.org/support
How do you expect people want to help you when you provide little details.
On Mon, Jun 11, 2012 at 5:09 PM, semecamel <di...@gmail.com> wrote:
> I have a web service which I published via cxf endpoint and added to my
> camel
> context in spring xml file.
> My web service method returns an object. I created a Processor class to do
> actual work.
>
> How I can return an object after calling my cxf endpoint?
> I am getting class cast exception.
> I am trying everything, but it is not working, I always get class cast
> exception
>
> Here is my sample route
>
> <camel:route id="loanBrokerRoute">
> <camel:from uri="cxf:bean:wscamel"/>
> <camel:process ref="orderProcessor"/>
> <camel:process ref="preOrderProcessor"/>
>
> </camel:route>
>
> --
> View this message in context:
> http://camel.465427.n5.nabble.com/Web-Services-calls-via-camel-not-working-Class-cast-exception-tp5714293.html
> Sent from the Camel - Users mailing list archive at Nabble.com.
>
--
Claus Ibsen
-----------------
FuseSource
Email: cibsen@fusesource.com
Web: http://fusesource.com
Twitter: davsclaus, fusenews
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen