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.

Reply via email to