You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Oliver Moser (JIRA)" <ji...@apache.org> on 2013/01/14 19:10:13 UTC

[jira] [Updated] (CXF-4752) TransformOutInterceptor does not transform SoapFaults

     [ https://issues.apache.org/jira/browse/CXF-4752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Moser updated CXF-4752:
------------------------------

    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

  was:
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

    
> 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