[ https://issues.apache.org/jira/browse/CXF-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aki Yoshida resolved CXF-4752. ------------------------------ Resolution: Fixed Fix Version/s: 2.8.0 2.7.3 2.6.6 2.5.9 added an option skipOnFault to turn on or off the fault transformation. added also a test case to verify the stax-trans interceptors do not interfere with the logging interceptors (independent of whether the fault transformation is enabled or disabled). > 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 > Assignee: Aki Yoshida > Priority: Minor > Fix For: 2.5.9, 2.6.6, 2.7.3, 2.8.0 > > > The TransformOutInterceptor skips the processing of fault messages by the > following lines \\ > {code} > // org.apache.cxf.interceptor.transform.TransformOutInterceptor#handleFault > if (null != message.getContent(Exception.class)) { > return; > } > {code} > 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