You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Daniel Kulp (JIRA)" <ji...@apache.org> on 2008/08/06 15:10:48 UTC

[jira] Resolved: (CXF-1733) SoapPreProtocolOutInterceptor overrides SoapActionOutInterceptor

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

Daniel Kulp resolved CXF-1733.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.0.9
                   2.1.2
         Assignee: Daniel Kulp

> SoapPreProtocolOutInterceptor overrides SoapActionOutInterceptor 
> -----------------------------------------------------------------
>
>                 Key: CXF-1733
>                 URL: https://issues.apache.org/jira/browse/CXF-1733
>             Project: CXF
>          Issue Type: Bug
>          Components: Soap Binding
>    Affects Versions: 2.1.1
>            Reporter: Iman Rahmatizadeh
>            Assignee: Daniel Kulp
>             Fix For: 2.1.2, 2.0.9
>
>
> SoapActionOutInterceptor appends ";action=blaBla" to the content-type header :
>             String ct = (String) message.get(Message.CONTENT_TYPE);
>            
>             if (ct.indexOf("action=\"") == -1) {
>                 ct = new StringBuilder().append(ct)
>                     .append("; action=").append(action).toString();
>                 message.put(Message.CONTENT_TYPE, ct);
>             }
> where after that SoapPreProtocolOutInterceptor resets it to the string without the action :
>         message.put(Message.CONTENT_TYPE, soapVersion.getContentType());

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.