1 Reply Latest reply on Oct 24, 2007 3:42 AM by asoldano

    Multiple SOAP attachments via MTOM document/literal?

    sysuser1

      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