axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gaurang Mehta <gaurang2...@yahoo.com>
Subject Re: how not to write attachments to /tmp upon response ?
Date Tue, 22 Mar 2005 18:50:12 GMT
Anna,

I am not sure how you can stop it from writing files,
but you can delete these files by calling
Attachments.dispose() after you are done processing
them.

Gaurang

--- Sagi Anna <Anna.Sagi@comverse.com> wrote:
> Hello, 
> Our application tries to get attachment from Web
> Services server
> response by calling 
> to Stub.getAttachments() method, which returns array
> of zero size. 
> 
> After deeper investigation , we have noticed that
> attachments bigger
> then 16K are 
> written to user's temp directory. 
> When tmp becomes full, Stub.getAttachments() returns
> attachment of zero
> size. 
> 
> It means that ManagedMemoryDataSource class does not
> clean tmp directory
> , as it should do. 
> We don't want to write to tmp directory at all. How
> can we do that ? 
> Thank you in advance, 
> Anna Top of Form 1
>  <<Picture (Metafile)>>   <<Picture (Metafile)>> 
> <<Picture (Metafile)>>
>  <<Picture (Metafile)>>  <<Picture (Metafile)>> 
> <<Picture (Metafile)>> 
>  <<Picture (Metafile)>> 
> Bottom of Form 1
> 
> 

__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message