Is it possible to have an API as such:
class Attachments {
private DataHandler dh;
public DataHandler[] getAttachments();
public void setAttachments(DataHandler[] attachments);
}
public interface StoreAttachments {
void storeAttachments(Attachments arg);
}
using MTOM/XOP and document/literal (or any other encoding)?
I want to be able to send multiple attachments (20MB on average each attachment) in a single SOAP message. Is this doable in JBossWS 2.0.1?
Thanks!
Martin
It never happened to me to try with multiple attachments, however I think it should be doable.