Camel will turn the Soap Fault message into an Exception. I’m not sure how do you call the web service, but if you use ProducerTemplate[1] you can get an exception from the exchange just like this
Exception exception = exchange.getException(); If you have a camel route to call the service, you can handle the exception by using the ErrorHandler[2] [1]http://camel.apache.org/producertemplate.html [2]http://camel.apache.org/error-handler.html -- Willem Jiang Red Hat, Inc. Web: http://www.redhat.com Blog: http://willemjiang.blogspot.com(http://willemjiang.blogspot.com/) (English) http://jnn.iteye.com(http://jnn.javaeye.com/) (Chinese) Twitter: willemjiang Weibo: 姜宁willem On December 17, 2013 at 10:46:19 PM, bilalalp (syme...@gmail.com) wrote: > > Hi everyone, I have a problem about soap:fault. When i call a web > service, it > returns a default soap fault message. In camel side, how can i > convert it to > an object? Here is an example fault: > > > > > > soapenv:Server > My fault string... > > > > > > > -- > View this message in context: > http://camel.465427.n5.nabble.com/Soap-Fault-Unmarshal-tp5744949.html > Sent from the Camel - Users mailing list archive at Nabble.com. >