The CDK generates SOAPFault as fault. At JBI level, fault should be simple XML payload (see PETALSDISTRIB-133), transformed into SoapFault by the Petals BC Soap (PETALSBCSOAP-145).
Environment:
-
Issue Links
Depends
This issue depends on:
PETALSCDK-130
Technical errors should NOT be transformed to Fault, and even less SOAPFault
PETALSCDK-134
Remove or refactor Exceptions around Fault
This issue blocks:
PETALSDISTRIB-133
Better management of errors versus faults in JBI exchanges
Victor NOËL added a comment - Wed, 15 Jul 2015 - 12:01:29 +0200 FaultException was moved (and rewritten) for the POJO SE. The other exceptions were removed as well as setFault(Throwable)
Victor NOËL added a comment - Thu, 21 May 2015 - 17:18:01 +0200 Now the only place where the CDK manipulate Faults is in setFault(Throwable) of Exchange.
This is were the change must happen.
FaultException was moved (and rewritten) for the POJO SE. The other exceptions were removed as well as setFault(Throwable)