Oliver Moser created CXF-4752:
---------------------------------

             Summary: TransformOutInterceptor does not transform SoapFaults
                 Key: CXF-4752
                 URL: https://issues.apache.org/jira/browse/CXF-4752
             Project: CXF
          Issue Type: Bug
          Components: Core
    Affects Versions: 2.7.2
            Reporter: Oliver Moser
            Priority: Minor


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

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to