You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Iman Rahmatizadeh (JIRA)" <ji...@apache.org> on 2008/08/05 20:36:44 UTC

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

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


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.


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

Posted by "Daniel Kulp (JIRA)" <ji...@apache.org>.
     [ 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.