cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Oliver Moser (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (CXF-4752) TransformOutInterceptor does not transform SoapFaults
Date Mon, 14 Jan 2013 18:12:12 GMT

     [ 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


{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

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

    
> 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
> {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

Mime
View raw message