servicemix-http provider should not add the inMessage content-type header to the response if a new content-type is generated (mime messages) --------------------------------------------------------------------------------------------------------------------------------------------
Key: SM-503 URL: https://issues.apache.org/activemq/browse/SM-503 Project: ServiceMix Issue Type: Bug Components: servicemix-http Affects Versions: 3.0-M1, 3.0-M2, 3.0-M3, 3.0 Reporter: Renaud Bruyeron Fix For: 3.0 Attachments: patch.txt This is similar to SM-502 - the loop line 111 of ProviderProcessor in servicemix-http adds a Content-Type header from the in message if there was one. The content-type is regenerated by the soapWriter a few lines later and should override the first one. However both end up in the http request. To see the bug, create 2 http:endpoints, one consumer and one provider, the latter being target of the former. Then submit a Soap With Attachment request into the consumer. The output is invalid because the first Content-Type header does not match the content (boundaries are wrong). The patch attached removes the first header. -- 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