On Thu, Mar 21, 2013 at 2:15 PM, Heiko <[email protected]> wrote:
> Hi,
> I have a problem while calling a webservice from a camel route. The inbound
> message is set, like this prompt tells me, but I any attempt to read that
> leads to a nullpointer exeption, since the body in suddenly null.
>

See this FAQ
http://camel.apache.org/why-is-my-message-body-empty.html


> Can anybody tell me, what I´m doing wrong or how to access webservice
> result?
>
> This is my commandline output:
>
>
> This is my route:
>
>
> This is the called bean method createTemisAuthetificationMessage:
>
> * I tried inOnly and inOut as well
>
> This is the called bean method setTemisWebServiceTokenToHeader:
>
> * I tried both resultIn and resultOut
>

See this FAQ
http://camel.apache.org/using-getin-or-getout-methods-on-exchange.html

And maybe also read about stream caching
http://camel.apache.org/stream-caching.html

>
>
> --
> View this message in context: 
> http://camel.465427.n5.nabble.com/Cannot-read-inbound-mesage-from-CXF-webservice-tp5729613.html
> Sent from the Camel - Users mailing list archive at Nabble.com.



-- 
Claus Ibsen
-----------------
Red Hat, Inc.
FuseSource is now part of Red Hat
Email: [email protected]
Web: http://fusesource.com
Twitter: davsclaus
Blog: http://davsclaus.com
Author of Camel in Action: http://www.manning.com/ibsen

Reply via email to