Not possible to send document from one Mendix app to another
I have to Mendix applications where I want to send a document (=pdf file) from one app to another. When sending the document, using a webservice, I get the error: 'The value of element 'Contents' is not valid. I am able to preview the pdf and when encoding the pdf file, the generated base64 string is identical to the one used in the webservice. Has anybody encountered the same issue and, if yes, how did you solve it?
Error was caused by the fact that the option 'Send binary data as attachment (MTOM)' was not checked in the consumed webservice.