Re: Attaching huge attachments in axis2

2011-07-15 Thread Jorge Medina
SenderThreader.operationStatusResponse(NotificationSenderThreader.java:1 >>> 094) >>>        at >>> com.nokia.j2ssp.comp.esymac.common.soapAdapter.notification.Notification >>> SenderThreader.access$200(NotificationSenderThreader.java:36) >>>  

Re: Attaching huge attachments in axis2

2011-07-15 Thread Jorge Medina
cationSenderThreader.java:36) >>        at >> com.nokia.j2ssp.comp.esymac.common.soapAdapter.notification.Notification >> SenderThreader$SenderThread.run(NotificationSenderThreader.java:420) >> --cut-- >> >> -Original Message- >> From: ext Jorge Med

Re: Attaching huge attachments in axis2

2011-07-15 Thread Jorge Medina
gt;        at > com.nokia.j2ssp.comp.esymac.common.soapAdapter.notification.Notification > SenderThreader$SenderThread.run(NotificationSenderThreader.java:420) > --cut-- > > -Original Message----- > From: ext Jorge Medina [mailto:cerebrotecnolog...@gmail.com] > Sent: Saturday, Ju

RE: Attaching huge attachments in axis2

2011-07-11 Thread Bhat B, Niranjan (NSN - IN/Bangalore)
eader.java:420) --cut-- -Original Message- From: ext Jorge Medina [mailto:cerebrotecnolog...@gmail.com] Sent: Saturday, July 09, 2011 7:26 AM To: java-user@axis.apache.org Subject: Re: Attaching huge attachments in axis2 Make sure you stream the file. I use SpringWS on the server side an

Re: Attaching huge attachments in axis2

2011-07-08 Thread Sanjiva Weerawarana
Have you tried with MTOM? Axis2 should be default stream it out to disk and hence should not go OOM. Sanjiva. On Fri, Jul 8, 2011 at 10:31 AM, Bhat B, Niranjan (NSN - IN/Bangalore) < niranjan.bha...@nsn.com> wrote: > > Hi All, > > Recently I had a use case of attaching a huge attachment file(aro

Re: Attaching huge attachments in axis2

2011-07-08 Thread Jorge Medina
Make sure you stream the file. I use SpringWS on the server side and Axis2 in the client side for downloading files. In the server side, I spawn a new thread to write the attachment portion using PipedInputStream/PipedOutputStream. To do an upload, I would do the same. Spawn a new thread to read