Custom fault in consumer gets lost.


I’m consuming a web service from an external application which is throwing a custom exception.
When I create the WSD consumer I see that the custom error is located inside the fault/detail. However, when I consume it from a provider service, and the consumer throws an exception, the fault/detail gets replaced with lastError and the custom exception gets lost.

Is this a known issue?

Thank you!


Upon getting the fault document throw the same to catch block so that getLastError catches same message!!! ?

I guess this is not the case! pub.flow:getLastError should still give the last custom exception. Is your code implemented in Main-Try-Catch?

Can you share the screen shot of your code.