Details
Description
Per the javax.activation.DataSource API
/** * This method returns the MIME type of the data in the form of a * string. It should always return a valid type. It is suggested * that getContentType return "application/octet-stream" if the * DataSource implementation can not determine the data type. * * @return the MIME Type */ public String getContentType();
So cxf AttachmentDataSource should also follow this. For the case that the incoming soap message with attachments, if the MIME part doesn't specify a content-type, use the general
"application/octet-stream"
Attachments
Issue Links
- causes
-
CXF-8669 Multipart annotation not working 3.4.6 onwards.
- Closed