Hi,

I am calling a web service asynchronously (task executors), but I cannot figure out how to handle the soap fault messages by using SI.

I want to catch the faults and wrap them so that the faults get treated like every other "hit" when they reach the aggregator that aggregates the results. Like so:

request > ws-outbound gateway > catch fault and wrap > aggregator > result page (shows results and summary of errors)

I have tried with a fault-message-resolver that wraps the error messages and sends them to the error queue, but I am unable to transfer headers like correlationId from the initial request. The aggregator needs the headers to be able to correlate properly.

How can I intercept the faults and transfer the message headers from the initial request?