You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Bassem HAIDAR <ha...@yahoo.fr> on 2004/02/17 18:08:47 UTC

file transfer

hello
can i use soap with attachement for file transfer, and
does any maximium file size for the attachment?

thank you 

=====



	

	
		
Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/

Re: file transfer

Posted by Scott Nichol <sn...@scottnichol.com>.
You can use SwA for file transfer.  The HTTP payload containing the file being sent is serialized into memory.  A file sender must have sufficient memory to do this.  The receiving code will read the entire HTTP payload into memory, and JavaMail may create an additional copy of the attachment, so the file receiver needs enough memory to hold 2 copies of the attachment.

As you can see, Apache SOAP is not a good option for transferring large files.  Axis, on the other hand, does not make all of these in-memory copies, so it would be a better alternative if you want to use SOAP for file transfers.

Scott Nichol

Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message ----- 
From: "Bassem HAIDAR" <ha...@yahoo.fr>
To: <so...@ws.apache.org>
Sent: Tuesday, February 17, 2004 12:08 PM
Subject: file transfer


hello
can i use soap with attachement for file transfer, and
does any maximium file size for the attachment?

thank you 

=====







Yahoo! Mail : votre e-mail personnel et gratuit qui vous suit partout ! 
Créez votre Yahoo! Mail sur http://fr.benefits.yahoo.com/