Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
servicemix-http-2009.02
-
None
Description
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.