hi Willem

thank you for answering

this is m y route :

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<route id="route" xmlns="http://camel.apache.org/schema/spring";>
<from uri="cxf:bean:mybean" />
<to uri="processor" />
</route>


CXF endpoint is in POJO mode :

<cxf:cxfEndpoint id="mybean" address="http://localhost:9000/services";
                serviceClass="ch.test.MyServiceimpl">

                <cxf:outInterceptors>
                        <ref bean="loggingOutInterceptor" />
                </cxf:outInterceptors>
                <cxf:properties>
                        <entry key="dataFormat" value="POJO" />
                </cxf:properties>

</cxf:cxfEndpoint>

and the processor
        
<bean id="processor"
class="ch.test.MyProcessor">
</bean>

so i send a request to CXF endpoint like this :

 MessageContentsList messageContentsList = (MessageContentsList)
 template.requestBodyAndHeaders( uri,message)); 


, and when there is some Exceptions on the server, i get an empty message..



--
View this message in context: 
http://camel.465427.n5.nabble.com/Camel-CXF-Exception-Fault-Handling-tp5716985p5716991.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to