[
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.