Read this http://www.w3.org/2000/xp/Group/2/07/SOAP-AF/aftf-soap-af.html Regards, Martin ----- Original Message ----- From: "Praveen Peddi" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, December 16, 2003 11:32 AM Subject: Re: Sending response as stream
> Does it mean that attachments are sent as streams and not part of soap > envelop? > > I think my problem here is the memory and time. So If I send it as > attachment, the client can read the stream and may be save it to disk rather > than filling the memory? > > Praveen > > ----- Original Message ----- > From: "Scott Nichol" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, December 16, 2003 10:54 AM > Subject: Re: Sending response as stream > > > 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 > >