You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@servicemix.apache.org by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org> on 2009/11/13 14:24:52 UTC

[jira] Created: (SMXCOMP-675) HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is

HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is
------------------------------------------------------------------------------------------------------

                 Key: SMXCOMP-675
                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-675
             Project: ServiceMix Components
          Issue Type: Bug
          Components: servicemix-http
    Affects Versions: servicemix-http-2009.02
            Reporter: Jean-Baptiste Onofré
            Assignee: Jean-Baptiste Onofré
             Fix For: servicemix-http-2009.02


Currently, in the HttpSoapConsumerMarshaler forces the content type in the sendOut() and sendError() methods:

response.setContentType("application/soap+xml");

The problem is that the content type application/soap+xml is only valid for SOAP 1.2. Using SOAP 1.1, the content type should be set to text/xml.

So I need to upgrade the marshaler to set the content type corresponding to the used SOAP version.

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


[jira] Updated: (SMXCOMP-675) HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré updated SMXCOMP-675:
-----------------------------------------

    Fix Version/s:     (was: servicemix-http-2010.01)
                   servicemix-http-2010.02

> HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-675
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-675
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.02
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-http-2010.02
>
>
> Currently, in the HttpSoapConsumerMarshaler forces the content type in the sendOut() and sendError() methods:
> response.setContentType("application/soap+xml");
> The problem is that the content type application/soap+xml is only valid for SOAP 1.2. Using SOAP 1.1, the content type should be set to text/xml.
> So I need to upgrade the marshaler to set the content type corresponding to the used SOAP version.

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


[jira] Resolved: (SMXCOMP-675) HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jean-Baptiste Onofré resolved SMXCOMP-675.
------------------------------------------

    Resolution: Fixed

Revision 934437.

> HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-675
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-675
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.02
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-http-2010.02
>
>
> Currently, in the HttpSoapConsumerMarshaler forces the content type in the sendOut() and sendError() methods:
> response.setContentType("application/soap+xml");
> The problem is that the content type application/soap+xml is only valid for SOAP 1.2. Using SOAP 1.1, the content type should be set to text/xml.
> So I need to upgrade the marshaler to set the content type corresponding to the used SOAP version.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://issues.apache.org/activemq/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

       

[jira] Commented: (SMXCOMP-675) HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is

Posted by "Jean-Baptiste Onofré (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/activemq/browse/SMXCOMP-675?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=62390#action_62390 ] 

Jean-Baptiste Onofré commented on SMXCOMP-675:
----------------------------------------------

Hi Pavel,

agree, I'm gonna make the same update.

Regards
JB

> HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-675
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-675
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.02
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-http-2010.02
>
>
> Currently, in the HttpSoapConsumerMarshaler forces the content type in the sendOut() and sendError() methods:
> response.setContentType("application/soap+xml");
> The problem is that the content type application/soap+xml is only valid for SOAP 1.2. Using SOAP 1.1, the content type should be set to text/xml.
> So I need to upgrade the marshaler to set the content type corresponding to the used SOAP version.

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


[jira] Reopened: (SMXCOMP-675) HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is

Posted by "Pavel Drasil (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pavel Drasil reopened SMXCOMP-675:
----------------------------------


The content type is changed according to the SOAP version in use just in OUT messages. I am convinced that the same mechanism should be used in FAULT messages and possibly also in ERROR messages.

> HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-675
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-675
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.02
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-http-2010.02
>
>
> Currently, in the HttpSoapConsumerMarshaler forces the content type in the sendOut() and sendError() methods:
> response.setContentType("application/soap+xml");
> The problem is that the content type application/soap+xml is only valid for SOAP 1.2. Using SOAP 1.1, the content type should be set to text/xml.
> So I need to upgrade the marshaler to set the content type corresponding to the used SOAP version.

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


[jira] Updated: (SMXCOMP-675) HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is

Posted by "Gert Vanthienen (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/activemq/browse/SMXCOMP-675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Gert Vanthienen updated SMXCOMP-675:
------------------------------------

    Fix Version/s:     (was: servicemix-http-2009.02)
                   servicemix-http-2010.01

> HttpSoapConsumerMarshaler forces the content type to application/soap+xml whatever the SOAP version is
> ------------------------------------------------------------------------------------------------------
>
>                 Key: SMXCOMP-675
>                 URL: https://issues.apache.org/activemq/browse/SMXCOMP-675
>             Project: ServiceMix Components
>          Issue Type: Bug
>          Components: servicemix-http
>    Affects Versions: servicemix-http-2009.02
>            Reporter: Jean-Baptiste Onofré
>            Assignee: Jean-Baptiste Onofré
>             Fix For: servicemix-http-2010.01
>
>
> Currently, in the HttpSoapConsumerMarshaler forces the content type in the sendOut() and sendError() methods:
> response.setContentType("application/soap+xml");
> The problem is that the content type application/soap+xml is only valid for SOAP 1.2. Using SOAP 1.1, the content type should be set to text/xml.
> So I need to upgrade the marshaler to set the content type corresponding to the used SOAP version.

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