How to send an attachment with MTOM
MKITConsulting opened this issue · 0 comments
MKITConsulting commented
Hello,
soap_test.go contains an example for adding an attachment with MTOM. My current WSDL schema does not contain a property that is compatible to the "Attachment" soap.Binary
struct field used in the example. My request contains a field that contains the "contentID" only. This is a simple string and not a soap.Binary
.
How can I add an attachment with MTOM to the soap request but only use the contentID that will be generated by the library on binary creation?