Details
Description
CXF will stuck in a infinite loop when add a detail element in SoapFault of SOAPFaultException:
@WebService(name = "MyEchoService", targetNamespace = "urn:echo")
@Logging
public class MyEchoService {
@WebMethod
public String echoException(String input) throws SOAPFaultException {
SOAPFaultException ex;
try
catch (Exception e)
{ // TODO Auto-generated catch block return e.toString(); } throw ex;
}
private SOAPFaultException wrapToSoapFault(Exception ex) throws Exception {
SOAPFactory fac = null;
try
catch (Exception e2)
{ throw e2; } }
}
Attachments
Issue Links
- links to