AnsweredAssumed Answered

Add a binary attachment to a message

Question asked by Heiko Hudig on May 10, 2016
Latest reply on Sep 16, 2016 by Stephen_Hughes

We need to read a (binary or text) file from the MySQL database and attach it as a binary file to a SOAP message (as a multipart/related attachment). In other words, we need an assertion “add attachment to message” where the attachment can be text or binary data. That assertion should create a new multipart related message and change the original message as the mainpart, if the current message is not already multipart/related. The preceding step, retrieving the data from the database, should also preserve the binary data and not convert it to text. Does anyone know how to do this?

Outcomes