I'm using JAX-WS, and to step back I'm on CXF2.4.1+Camel 2.4.0 (My bad on version typo). My use case is to receive client PAYLOAD, process SOAP header and route to external service for it to process the body and return response. The issue is, when this external service throws an Exception/Fault; it does not propagate into my camelcontext, instead I get HTTP operation failed while invoking my external service URL (attached exception)
<camelContext xmlns="http://camel.apache.org/schema/spring"> <route> <from uri="cxf:bean:praService" /> <setExchangePattern pattern="InOut"/> <to uri="bean:pnraDelegate" /> <to uri="log:input?showHeaders=true" /> <to uri="http://d026ats002268:19080/testServiceClientsWAR/services/PRAServiceRouterPort?bridgeEndpoint=true"/> <to uri="log:output"/> <to uri="bean:threadCleaner"/> </route> </camelContext> ========= Exception thrown ========= [1/19/12 20:56:44:472 EST] 0000093f DefaultErrorH E org.apache.camel.processor.Logger log Failed delivery for exchangeId: ad7d475d-052f-40ce-ba56-b4f16e41b645. Exhausted after delivery attempt: 1 caught: org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://d026ats002268:19080/testServiceClientsWAR/services/PRAServiceRouterPort with statusCode: 500 org.apache.camel.component.http.HttpOperationFailedException: HTTP operation failed invoking http://d026ats002268:19080/testServiceClientsWAR/services/PRAServiceRouterPort with statusCode: 500 at org.apache.camel.component.http.HttpProducer.populateHttpOperationFailedException(HttpProducer.java:157) at org.apache.camel.component.http.HttpProducer.process(HttpProducer.java:99) at org.apache.camel.impl.converter.AsyncProcessorTypeConverter$ProcessorToAsyncProcessorBridge.process(AsyncProcessorTypeConverter.java:50) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70) at org.apache.camel.processor.SendProcessor$2.doInAsyncProducer(SendProcessor.java:104) at org.apache.camel.impl.ProducerCache.doInAsyncProducer(ProducerCache.java:272) at org.apache.camel.processor.SendProcessor.process(SendProcessor.java:98) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70) at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89) at org.apache.camel.management.InstrumentationProcessor.process(InstrumentationProcessor.java:68) at org.apache.camel.util.AsyncProcessorHelper.process(AsyncProcessorHelper.java:70) at org.apache.camel.processor.DelegateAsyncProcessor.processNext(DelegateAsyncProcessor.java:98) at org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:89) -- View this message in context: http://camel.465427.n5.nabble.com/Camel-2-9-0-integration-with-CXF2-5-1-Help-tp5156667p5159431.html Sent from the Camel - Users mailing list archive at Nabble.com.