Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 39927 invoked from network); 22 Mar 2005 20:37:04 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 22 Mar 2005 20:37:04 -0000 Received: (qmail 8429 invoked by uid 500); 22 Mar 2005 20:36:57 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 8411 invoked by uid 500); 22 Mar 2005 20:36:57 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: List-Post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 8398 invoked by uid 99); 22 Mar 2005 20:36:57 -0000 X-ASF-Spam-Status: No, hits=0.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,FROM_ENDS_IN_NUMS X-Spam-Check-By: apache.org Received-SPF: pass (hermes.apache.org: local policy) Received: from web52705.mail.yahoo.com (HELO web52705.mail.yahoo.com) (206.190.39.156) by apache.org (qpsmtpd/0.28) with SMTP; Tue, 22 Mar 2005 12:36:56 -0800 Received: (qmail 1365 invoked by uid 60001); 22 Mar 2005 18:50:12 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=LdkiZ8o4BY9mLw2tzHoYwbV7f5n7BqTyPsf075jVYndTxS2IA656NF9Nna76yvQG91LcYQPfJFI6MFg7lvI8FMz1DgIQ+Nm0j/pTJS0COFMwbagRtivahe5iD9gu5eQn/REklPmGm53UE1agGiu5vfQsEUlWVnnxzH95VYGDZDk= ; Message-ID: <20050322185012.1363.qmail@web52705.mail.yahoo.com> Received: from [198.74.16.148] by web52705.mail.yahoo.com via HTTP; Tue, 22 Mar 2005 10:50:12 PST Date: Tue, 22 Mar 2005 10:50:12 -0800 (PST) From: Gaurang Mehta Subject: Re: how not to write attachments to /tmp upon response ? To: axis-user@ws.apache.org In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Checked: Checked X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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 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 > <> <> > <> > <> <> > <> > <> > Bottom of Form 1 > > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com