i mean that the SOAP implementations allow the attachments to be streamed from an arbitrary input data source, such as a database, file, or memory buffer, to a similar remote output data source, without having to copy the entire contents into memory. they do this by streaming from the input source directly to the HTTP stream, and from the HTTP stream directly to the output source. at least this is what GLUE does. so you can tranfer a 1GByte file using SOAP attachments without using up much memory.
cheers, graham -----Original Message----- From: Naresh Agarwal [mailto:[EMAIL PROTECTED]] Sent: Monday, November 26, 2001 12:52 AM To: [EMAIL PROTECTED] Subject: Re: XML scema in apache soap Hi Graham What do u mean by >as many SOAP implementations ensure that the data itself > is never loaded into memory during the transfer. Thanks, Regards, Naresh ----- Original Message ----- From: "graham glass" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 26, 2001 11:57 AM Subject: RE: XML scema in apache soap > SOAP attachments is a good way to go for transfering bulk > data, as many SOAP implementations ensure that the data itself > is never loaded into memory during the transfer. > > GLUE, our own web services platform, has comprehensive support > for SOAP attachments. it is free at http://www.themindelectric.com > > hope this helps, > > cheers, > graham > > -----Original Message----- > From: C Santosh Kumar [mailto:[EMAIL PROTECTED]] > Sent: Sunday, November 25, 2001 11:54 PM > To: [EMAIL PROTECTED] > Cc: [EMAIL PROTECTED]; Craig Melsopp > Subject: Re: XML scema in apache soap > > > > In my case, we are trying to make Perl talk to Java in bio-informatics > > field. We have specific XML schema for bio- data. I try to find the > solution > > to transfer huge data, you know the DNA right? ;) , via SOAP. However, > when > > I tried , using RPC-based, to transfer a java.util.Vector with 20,000 > > elements, I encountered java.lang.InternalException. The object is so big > > for JVM/HotSpot. For RPC-based, there is another *shortcoming*, that it > > sends an object after the object is generated completely. Message-oriented > > is more like a stream. > > > > Do you have any suggestion on my project? Thanks in advance. > > > Have you tried SOAP with Attachments ? I have no idea if its better than > the above 2 ways, or if apache-soap supports it. > > > _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
