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 Priya <pm...@orbit-e.com> on 2001/01/23 18:54:35 UTC
file attachments : call.addBodyPart vs Message.Send ?
Hi ,
I'm trying to use SOAP to transfer files (posted via a web browser) to the
SOAP client, where the SOAP client then needs to pass these files to the
SOAP service.
I've seen the mime example, and am wondering what the difference is between
the "listAttachments" method (which uses Call.addBodyPart()), and
"loopProcessor" method (which uses the org.apache.soap.messaging.Message
class) to send the files across. Which of these is a better mechanism for
sending files across to the SOAP service ?
Thanks for your time.
regards,
Priya