Hi All,
I am using camel 2.2 with servicemix 4.2
I am trying to retrieve soapFault message from HttpOperationFailedException
I could able to print the exception as below
Exception ex =
exchange.getProperty(Exchange.EXCEPTION_CAUGHT,Exception.class);
log.info(ex);
It prints the message as below
"org.apache.camel.component.http.HttpOperationFailedException: HTTP
operation failed invoking
http://localhost/orderapp/OrderProcess?httpClientConfigurerRef=com.pf.simpleconsumer.camelrouter.DefaultHttpClientConfigurer
with statusCode: 500"

The above string does not have soapfault message.How would I extract
soapfault message in my onException() block ?
How do I retrieve the fault code?

Any help is appreciated


-- 
View this message in context: 
http://old.nabble.com/reading-soapfault-message-from-HttpOperationFailedException-tp28847433p28847433.html
Sent from the Camel - Users mailing list archive at Nabble.com.

Reply via email to