You should not call: exchange.getOut() in "setTemisWebServiceTokenToHeader". This will create an empty out message which is afterwards send to the next processor...
Best, Christian 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. > > 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 > > > > -- > 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. > --
