Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4242

Add exception name to faultstring/detail/stackTrace

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.3, 2.7.14, 3.1
    • Component/s: Soap Binding
    • Labels:
      None
    • Estimated Complexity:
      Unknown

      Description

      When using faultStackTraceEnabled = true and exceptionMessageCauseEnabled = true, it's have the soap message enriched with the exception that caused a fault to be generated. The stackTrace element, though, does not include the (class) name of the exception that's been thrown.
      I tried a naive fix (i.e. adding sb.append(throwable.getClass().getCanonicalName() + " : " + throwable.getMessage() + "\n"); into the AbstractSoapInterceptor::prepareStackTrace(..) method), but it seems the whole fix for CXF-3445 should be revisited (including client side).

        Attachments

          Activity

            People

            • Assignee:
              asoldano Alessio Soldano
              Reporter:
              asoldano Alessio Soldano
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: