I believe you have received excellent advice on this. Apache SOAP does create one or more in-memory images of the entire SOAP envelope, so the maximum heap size you've allowed your JVM (and, ultimately, the amount of virtual memory on your machine) will limit the size of attachment you can send. If you want to send document that are larger than half (assuming Apache SOAP creates 2 copies) the virtual memory of your mechine, Apache SOAP is not the SOAP implementation to prefer.
While you are considering attachments, you should be aware that there are interoperability issues, if that is of concern to you. As a specific example, Microsoft's SOAP Toolkit only supports DIME attachments (not MIME), while Apache SOAP supports only MIME attachments (not DIME). Scott Nichol ----- Original Message ----- From: "Apostolopoulos Paris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Sunday, October 27, 2002 4:59 PM Subject: A question about SOAP with attachments! > Hi! > > I quite new to SOAP , I want to know , from your experience is there any > limitation about the capacity of data tha can be carried out in a SOAP > envelope as an attachement.In the specs it says something like an image > or a document (MIME attachements) but is it efficient to attach lets say > a 50MB file? > For those that are going to scream with that (sorry guys and girls) but > I am just wondering if I could use SOAP with attachments in my > Server-Client application that talk using Message style SOAP , and their > main functionality actually is file transfer! > > Thank you for your time > Apostolopoulos Paris > > > > -- > To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> > For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org> > > -- To unsubscribe, e-mail: <mailto:soap-user-unsubscribe@;xml.apache.org> For additional commands, e-mail: <mailto:soap-user-help@;xml.apache.org>