Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 46356 invoked from network); 9 Jul 2007 14:18:33 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 9 Jul 2007 14:18:33 -0000 Received: (qmail 11790 invoked by uid 500); 9 Jul 2007 14:18:27 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 11476 invoked by uid 500); 9 Jul 2007 14:18:26 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 11465 invoked by uid 99); 9 Jul 2007 14:18:26 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2007 07:18:26 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (herse.apache.org: local policy) Received: from [195.64.81.66] (HELO backend1-post.office.marketxs.com) (195.64.81.66) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Jul 2007 07:18:23 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Subject: RE: Streaming Soap with Attachments Date: Mon, 9 Jul 2007 16:18:09 +0200 Message-ID: <0E17FD072E9875498207C91A391661A937F085@SRV-EXCHBE01.thecamelsnose.com> In-reply-to: <11502202.post@talk.nabble.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Streaming Soap with Attachments Thread-Index: AcfCMFa2BJuysybPTkiMH//KtmZzJgAAdLgw References: <0E17FD072E9875498207C91A391661A937F030@SRV-EXCHBE01.thecamelsnose.com> <11502202.post@talk.nabble.com> From: "Peter Makoi" To: X-Virus-Checked: Checked by ClamAV on apache.org I am actually using axis 2 As to what the reason might be, I have not really drawn any conclusion about it but I think it must have something to do with the way DataHandler handles the streaming I have had some valuable tips from alex[one of the contributors in this forum]regarding a buffering machinisme that acures when calling the writTo() method of DataHandler, and he suggested that I shuld flush the outputstream I tried that but it didn't work either I have alse cheked the getInputStream() of the dataHandler and I found out that it's calling PipedOutputStream object that uses a circular buffer witch is accessed by PipedInputStream and I am still trying to find out if the problem lies there Furthermore I have come across some achieve documentations dating back to 2005 that rule out the possibility of streaming a MIME type soap with attachments=20 You can check the rest of the posted by user Alex regarding Streaming Soap with Attachments succes -----Original Message----- From: DeepaJes [mailto:deepa.ramasamy@cognizant.com]=20 Sent: Monday, July 09, 2007 3:52 PM To: axis-user@ws.apache.org Subject: Re: Streaming Soap with Attachments Hi, In our project, we are using Axis1.1 and we are facing the same issue. When a binary SOAP attachment of size 1.5MB or more is sent, in the webservice server end, the Axis Engine takes few seconds to process the large attachment before the actual business logic starts. I guess this problem occurs even with DataHandler. We are in the process of migrating Axis1.1 to Axis2, because Axis2 handles the attachments in different way !!! Do you know why it takes more tiem to process the large binary attachment(we are sending plain java string values as binary attahcment) ? Have you find any solution for this issue? Thanks Deepa Peter Makoi wrote: >=20 > Does soap with attachments using MIME multipart support streaming? >=20 > I have goggled around trying to find out if there is a possibility of > doing that but i end up getting some old postings and documentations > that suggest that SwA does not support streaming=20 >=20 > I have also tried to simulate streaming a considerably large amount of > data by sending it as a data handler and then use the streaming > capability of the activation framework to stream the data into an output > stream >=20 > But what I got is an overhead equivalent to the time spend to transmit > the whole file to the client before the streaming begins(my conclusion > was that the data is received in a one-go and because of it's large size > it take's the processor sometime to allocate some memory space to save > it before the streaming even begins).... Does anyone have any > explanation? Thanks in advance >=20 >=20 >=20 --=20 View this message in context: http://www.nabble.com/Streaming-Soap-with-Attachments-tf4022786.html#a11 502202 Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org For additional commands, e-mail: axis-user-help@ws.apache.org