Hi,

I'm writing the following route :

from("cxf:<service1>")
to.("log:fromService")
.process(new Processor() {
   // prepare body to call cxf:<service2>
}
.to("cxf:<service2>")
.process(new Processor() {
   // extract the result

   // update getOut() to return the result to the cxf:<service1>
}

the issue is :


java.lang.NullPointerException
        at
org.apache.cxf.jaxws.interceptors.HolderOutInterceptor.handleMessage(HolderOutInterceptor.java:79)[137:org.apache.cxf.bundle:2.4.4]

The call and result of the cxf:<service2> is OK. If I comment the line
.to("cxf:<service2>"), the response is OK.

any ideas ?
thanks

Anthony

--
View this message in context: 
http://camel.465427.n5.nabble.com/HolderOutInterceptor-Exception-in-a-complex-camel-cxf-route-tp5479757p5479757.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to