Hi ,
I am stuck with one of the issue where a new "\n" is getting added by AttachmentSerializer.java at line#125. We are using cxf-bundle-2.4.3-fuse-04-16.jar which does not have complete fix of CXF-4482.
Requesting a newer version of cxf-bundle-2.4.3-fuse-XX-XX jar with complete fix of CXF-4482.
StringWriter writer = new StringWriter();
<b>writer.write("\n");</b>
writer.write("--");
writer.write(bodyBoundary);
External Issue Link: https://issues.apache.org/jira/browse/CXF-4482
I also wanted to highlight an issue with below highlighted code which results in <b>Content-Type: text/xml; charset=UTF-8; type="text/xml";</b> with duplicate text/xml which causes multipart requests to reject.
if (bodyType == null) {
mimeBodyCt.append((xop ? "application/xop+xml" : "text/xml") + "; charset=")
.append(encoding)
<b> .append("; type=\"")
.append(bodyCt)</b>
.append("\";");
} else {
mimeBodyCt.append(bodyType);
}
Requesting an urgent fix which will unblock us.
Thanks,
Ashwin
Hi,
CXF 2.4.x is really old, I'm not sure if the Fuse product which use CXF 2.4.x is still in support period or not.
If you have Fuse subscription, please use that channel to contact us and you can get more accurate answer.
Freeman