Hi All,

Similar q's had been posted earlier. I have run into a similar problem.

I have a webservice that is type java:MSG. It just returns a huge XML in
response. 
What the service does is that 
1) it gets the XML from a file
2) converts it to a document object 
3) constructs a SOAPBodyElement with the root element of this document
object
4) returns this element in an array of SOAPBodyElement....this is the only
element in the array.

The xml file is about 3.29 mb(1,20,000 lines)....and with this file i am
getting an OutOfMemory exception.
But if i reduce the lines to abt 75,000...2.2mb then i do not get the
exception. The service works fine.

I use JBoss3.0.7 server

My questions:
1) Is there any limit on size of the SOAP message in Axis...
2) How do we solve this problem...one way will be to increase the memory in
the server....any other way?

Regards,
Vinod.

<<attachment: winmail.dat>>

Reply via email to