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

TransformOutInterceptor does not transform SoapFaults

    XMLWordPrintableJSON

Details

    • Unknown

    Description

      The TransformOutInterceptor skips the processing of fault messages by the following lines

      // org.apache.cxf.interceptor.transform.TransformOutInterceptor#handleFault
      if (null != message.getContent(Exception.class)) {
           return;
      }
      

      Hence, there is no way to apply transformations on SoapFault messages. Suggestion from the mailthread: Either use a boolean flag to toggle the behavior (i.e. boolean skipFaultMessages) or make this explicit by providing a TransformOutFaultInterceptor.

      more information can be found in this mailing list thread:

      http://mail-archives.apache.org/mod_mbox/cxf-users/201301.mbox/%3C210917a979980a96b58d7cb87b18c5d7%40omoser.com%3E

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            omoser Oliver Moser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: