0 Replies Latest reply on Sep 22, 2008 5:18 AM by vishnu1789

    How to send multiple attachments in a single web service cal

    vishnu1789

      Hi,
      I had a requirement to send multiple documents in a single web service call .

      this is the web service i am trying to expose
      @WebMethod
      sendDocuments(String xmlStr, javax.activation.DataHandler[] documentData)
      or
      @WebMethod
      sendDocuments(String xmlStr,List<javax.activation.DataHandler> documentData)

      I am able to attach multiple documents from client side and those attachments are reaching server side also.
      but in both cases documentData.inputStream has zero bytes of data.

      can any one help me to send multi documents

      Regards,
      Vishnu