I have to sent the binary data of an excel-file as an attachment to a webservice. I uploaded the file as a filedocument in Mendix.
The webservice call reports the following error: Attachment file is not valid; validation errors: Unknown attachment file type (content type: application/octet-stream)
I asume that Mendix is setting the content type application/octect-stream at the upload of the fieldocument. Is there a way to adjust the contenttype in Mendix before calling the webservice. The correct contenttype for a xslx would be: application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
Thanks in advance
Marcel Kappert