Re: Max XML size while parsing SOAP request in Axis2
Benjamin Fan <[email protected]>
| Newsgroups | gmane.text.xml.axis.user |
|---|---|
| Message-ID | <CAExqfGMUwZrcbUVbBQ8JAim_PawUjVA2rcRbs7BrrA7Dcd+niQ@mail.gmail.com> |
Srinivasa, Even if you manage to get it to work I would strongly advise that you redesign the interface to implement handshaking to pass the data using multiple messages with a fixed max. message size. I've had consulting engagements in the past to fix production systems with exactly this problem - you must set a max size for all messages used and carry out capacity planning on your server farm otherwise you have a production failure just waiting to happen... Best Regards, Benjamin Fan On Sep 24, 2012 4:48 PM, "Srikakolapu, Srinivasa" <[email protected]> wrote: > Hi all,**** > > ** ** > > We have an application which sends a SOAP request to the system (which is > written in ‘C’). The response contains huge xml output( sometimes it > crosses more than 7 MB). As our SOAP client running on Tomcat container, > sometimes tomcat goes down with outofmemory exception. Is there any limit > of xml in axis2? **** > > ** ** > > System Environment:**** > > OS : Linux**** > > Application Server : Tomcat 6**** > > Java : JDK 1.6_23**** > > Memory for Tomcat : 1024 MB**** > > ** ** > > Regards,**** > > Srinivasa Rao S**** >