The data comes as a single String.
I don't know very well the methods used by SOAP to send data, but I think
that 175 kb of information should be send more quickly than 30 sec.
(Especialy if the SOAP server, and Web server and servlet server are all in
the same PC).
If I call the method directly (wothout using SOAP) from the servlet I get
the answer in 3 seconds...
Any more ideas ??
-----Original Message-----
From: Hansen, Richard [mailto:[EMAIL PROTECTED]]
Sent: Quarta-feira, 25 de Julho de 2001 14:16
To: '[EMAIL PROTECTED]'
Subject: RE: Sending large string's (175 kb)
Is the data coming back as a single string or an array of 1400 individual
XML items? I ran into a similar problem sending back an array of many small
strings. There was more XML tag data than actual application data. It seems
to take a long time to build all the XML elements also. I ended up sending
back a comma separated string instead of an array.
Rick Hansen
-----Original Message-----
From: Luis Pinho (EST) [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, July 25, 2001 7:08 AM
To: Soap-User (E-mail)
Subject: Sending large string's (175 kb)
Hi,
I'm using SOAP to call a method, that returns a String, this String is the
result of a query made to a database, this query returns about 1400 records,
each record contains 6 fields, if i save this string as a .txt file this
will have about 175 Kb of size.
The big problem, is the time I have to wait for the answer (about 1 minute
). Is there any way of speeding up this process?
Thank You
Lu�s Pinho
P.S: To build the string from the record set's returned by the query it
takes about 3 seconds, the time between -> return string_with_results; (in
the method that belongs to a class that is deployed in SOAP and is called)
and the servlet( that makes the call to the SOAP) to get the results it's
about 1 minute.