How to handle a Soap Fault message?

2010-01-08 Thread jeroenvoogt
Hi all, One of the systems I'm communicating with using ServiceMix and Camel is SOAP based. When that system returns SOAP Fault messages I'd like to transform them using XSLT and then put them into a JMS message queue. However Camel throws an exception after it receives the SOAP Faults:

How to convert the response of an InOut exchange using XSLT before sending it back to the original calling endpoint?

2010-01-04 Thread jeroenvoogt
Hi all, Does anyone know how I can convert the response of an InOut exchange (so the out message) using XSLT and pass it on to the original caller? In my situation, an external system is sending a soap request to the middleware (Apache ServiceMix and Apache Camel 1.6) which transforms it and

Re: How to convert the response of an InOut exchange using XSLT before sending it back to the original calling endpoint?

2010-01-04 Thread jeroenvoogt
Claus Ibsen-2 wrote: Usually you just add that transformation as the last step in the route. The reply to the original caller is always whatever the Exchange looks like when the route ends. Thanks Claus, your reply helped me further and it's now working perfectly. The output of the