Hi,
Probably sending this XML data as mime-attachment with SOAP response
containing the no. of records and some meta info.
Why? As far as my knowledge, when you use Apache-soap it parses using DOM
Parser and creates a DOM tree for your huge SOAP response. when the huge
XML data is received as mime-attachment and parsed using non-validating SAX
parser to get the values, it will be much faster than going through DOM
Parser. When the data is mime-attachment, you will not be using
marshalling/unmarshalling of soap toolkit for your huge XML data on both
client and server sides, so you have to handle marshalling/unmarshalling
explicitly outside the apache soap toolkit framework. I hope it
helps.......
regards,
Gopinath.M.R.
----- Original Message -----
From: "Stephan Wiesner" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Thursday, July 26, 2001 11:06 AM
Subject: Re: Sending large string's (175 kb)
> I remember something.
> I had a database too. I read about 1000 rows and put them into a String
with
> a <li> before it. One row at a time. (String s=""; s*=myRow).
> Then I saved this String to a file. It was awfully slow!
> Then I changed it. I wrote every line directly to the file and it was much
> faster.
>
> Don't know if that helps, but there might be the Problem. Using an array
> will propably speed it up.
>
> Stephan
>
> ----- Original Message -----
> From: "Kevin Elliott" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Thursday, July 26, 2001 2:20 AM
> Subject: Re: Sending large string's (175 kb)
>
>
> >
> > Hi,
> > I am having the same problem.
> > I have a CGI Perl script using SOAP::Lite using SOAP-RPC to return about
> 400
> > database records as XML.
> > The data size is about 300Kb.
> >
> > Using the tunnel, I can see when the data has finished being
transmitted,
> yet
> > the Java Call.invoke() method does not return for another couple of
> /minutes/
> >
> > I'm going to try zipping the data and returning as base64 next, this
> reduces the
> > file size to a mere 10kb, and hopefully will be faster.
> >
> > But, just wondering, what is the Java SOAP Call.invoke() method doing
that
> takes
> > so long?! Is it parsing the XML? Anyone know of any options to speed it
> up?
> >
> > Thank-you,
> > Kevin
>
_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com