dkulp commented on issue #538: [CXF-7990]:Fix Infinite loop when service endpoint throws SOAPFaultEx… URL: https://github.com/apache/cxf/pull/538#issuecomment-481694251 I believe the better patch would be: ``` --- a/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WebFaultOutInterceptor.java +++ b/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/interceptors/WebFaultOutInterceptor.java @@ -181,6 +181,8 @@ public class WebFaultOutInterceptor extends FaultOutInterceptor { //and let the rest of the chain try handling it as is. LOG.log(Level.WARNING, "EXCEPTION_WHILE_WRITING_FAULT", nex); } + } else if (cause instanceof SOAPFaultException && ((SOAPFaultException)cause).getFault().hasDetail()) { + return; } else { FaultMode mode = message.get(FaultMode.class); if (mode == FaultMode.CHECKED_APPLICATION_FAULT) { ``` which moves the check for the detail not the jaxws frontend which is where the handling for the SAAJ based things should be done.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
