Attachments are the one way I can think of to minimize the processing Apache SOAP will 
do.

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: "Praveen Peddi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, December 16, 2003 10:30 AM
Subject: Sending response as stream


HI all,
We are using apache soap both on serverside and on client side.
I am trying to write a method in soap service that returns thousands of objects that 
are converted into xml elements. Returning the whole response as an xml string is 
taking for ever. I am wondering if I can send the response as an output stream rather 
than as xml string.

How about sending the response as attachment. Will it do any better. I think 
attachments are sent as streams if I am not wrong.

Thanks
Praveen

Reply via email to