[ http://issues.apache.org/jira/browse/AXIS-2128?page=all ]
     
Davanum Srinivas resolved AXIS-2128:
------------------------------------

    Resolution: Incomplete

Please let us know the Axis version.

> Deleting temporary files when using SOAP with attachments
> ---------------------------------------------------------
>
>          Key: AXIS-2128
>          URL: http://issues.apache.org/jira/browse/AXIS-2128
>      Project: Apache Axis
>         Type: Bug
>   Components: Basic Architecture
>     Versions: 1.1
>  Environment: Windows 2000
>     Reporter: Steve Brown
>     Priority: Minor

>
> We have run into the issue outlined in Steve Loughran's document "Fear of 
> Attachments" 5/26/2004 where Axis 1.1 is not automatically cleaning up large 
> attachment files.  We tried to implement deleting the files within the code 
> but it does not seem to work.  Has this been addressed and is there code 
> available that demonstrates how to do this.  Note we created a housekeeping 
> process to delete the temp files periodaclly
> I was trying to get the AXIS file name and location but I only got back a 
> null string on both the output and input side.
>  
>         savedFile = 
> ((org.apache.axis.attachments.AttachmentPart)myPart).getAttachmentFile();
>         
>         savedFile = 
> ((org.apache.axis.attachments.AttachmentPart)myPart).getContentLocation();
> Just as likely I am doing something wrong??? but I would need to keep digging.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to