You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@xml.apache.org by Simon Wail <si...@comview.com> on 2001/03/08 16:28:12 UTC

Re: RPC calls with LARGE attachments

> Date: Thu, 8 Mar 2001 01:24:14 +0100
> From: Wouter Cloetens <wo...@mind.be>
>
> On Wed, Mar 07, 2001 at 06:54:54PM -0500, Simon Wail wrote:
> > If I wish to send large attachments (many MBs) in my RPC calls, is the data
> > read into memory before being sent over the wire.
> 
> Yes.
> 
> > Alternatively, on the server, the SOAP root
> > part could be read, and then it is up to the called method to access each
> > attachment in the correct order - goes back to my previous problem of the
> > called method having no access to the SOAP context, let alone the MIME
> > attachments.
> 
> The big hurdle is that we should ditch JavaMail and implement generic Java
> MIME support, light-weight, not focused on e-mail, and with low memory
> consumption (by delaying reading from the input stream during serialisation,
> and providing an InputStream implementation that delays reading MIME part
> content from the transport input stream (e.g. ServletInputStream for HTTP)
> until its read method is invoked).

Is there any possibility that this might be done for the new Axis version of
Apache SOAP?  If so, in which release?  I did notice that in the Axis
requirements there is mention of ensuring the implementation performs well and I
would see avoiding reading large attachments into memory as a way to improve
performance.

Simon.
-------------------------------------------------------------------------------
| Dr. Simon Wail             | ComView Corporation - Research and Development |
| 220 White Plains Rd        | Internet: simon.wail@comview.COM               |
| Tarrytown  NY  USA  10591  | (TEL) +1 914 332-4800 (FAX) +1 914 206-3566    |
|=============================================================================|
| "The Truth is out there...      Time is an illusion, lunch-time doubly so"  |
|        Chris Carter                            Douglas Adams                |
-------------------------------------------------------------------------------