• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Using Axis2 to send multipart/mixed SOAP messages with attachments

 
Roby Kappa
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Thanks in advance.
 
R Srini
Ranch Hand
Posts: 215
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi! Have you looked at this: http://www.theserverside.com/news/1363957/Sending-Attachments-with-SOAP

Looks like it should have what you are looking for.
 
Roby Kappa
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
R Srini wrote:Hi! Have you looked at this: http://www.theserverside.com/news/1363957/Sending-Attachments-with-SOAP

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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic