Hi Roshan,

you have to override the methods of the Callback class (isComplete() and
setComplete()).


Regards,
Michele

Punnoose, Roshan wrote:
> Hi,
> 
> I have a non-blocking client with the callback on a separate listener.
> Is there anyway that I can keep that callback open even after the
> response, while the server will be able to send more responses back to
> the same callback? Then close it on the client side after I receive what
> I want from the server?
> 
> Roshan Punnoose
> Phone: 301-497-6039
> 
> -----Original Message-----
> From: Neil Aggarwal [mailto:[EMAIL PROTECTED] 
> Sent: Wednesday, September 13, 2006 5:43 PM
> To: [email protected]
> Subject: Axis using more than 256MB for a 9MB file
> 
> Hello:
> 
> I have a web service deployed using Axis 1.4
> 
> In that service, I have a method that accepts a 
> String containing an XML document.
> 
> When I try to upload a 9MB XML file into my service,
> Axis seems to be taking up a HUGE amount of memory.
> 
> If I set the JVM to 256MB of heap, it runs out of
> memory and throws an OutOfMemoryException.
> 
> If I set the JVM to 512MB of heap, I get the file
> just fine.
> 
> The problem occurs *before* my web service method 
> is even invoked.
> 
> The service is running on Tomcat on Windows.
> 
> Any ideas why Axis would consume so much memory?
> 
> Thanks,
>       Neil
> 
> 
> --
> Neil Aggarwal, (214)986-3533, www.JAMMConsulting.com
> FREE! Eliminate junk email and reclaim your inbox.
> Visit http://www.spammilter.com for details.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to