Using Axis2 to send multipart/mixed SOAP messages with attachments
posted 5 years ago
Hi, is there a way to send from an Axis2 client a SOAP message with more than one attachment with mulipart/mixed content type? In this manner, I need to specify a content-ID at attachment top level and content-IDs for each single attachment, as is requested by an external WS I want to call.
Looks like it should have what you are looking for.
Sorry, but in this article I see only examples about multipart/related attachments, that is quite simple to manage in Axis2 with a few instructions and there are many examples about this. My problem is the creation of a multipart/mixed messages, that probably implies the use of a special messageFormatter or writing a custom one.