Posted: 22 Aug 2017 4:10 EDT Last activity: 23 Aug 2017 8:03 EDT
Retrieve a document sent through a SOAP connector with Message Transmission Optimization Mechanism (MTOM)
I am in the situation where I want to retrieve a file requesting a SOAP service. In the response of the SOAP Connector, I get a <xop:Includehref="..."xmlns:xop="..."/> tag embedded in an "attachment" tag.
So the SOAP services that we're requesting is using MTOM to provide the file that I want to retrieve (the SOAP connector that we implemented has the "Enable MTOM" checkbox checked).
For now, that attachment tag is mapped to an "attachment" string property in our class model. I would like to get the base64binary of that file so I can decode it (so I will be able to download it), but I don't know how I can configure the connector or my activities to call that connector to actually make a use of that xop:include tag.
If someone had a similar experience or knowledge about some useful features, it would be great !
This Hotfix problem description says that "if the soap envelope contains binary data and MTOM is enabled then generating the request is failing, so binary data was included in href tag of xop include element."
For more information you can have a look into BUG-296794