Axis Bug? temporary file is not deleted.
Hi, I am using file attachments with Axis1.4. Axis makes the temporarily file for the following pass. However, those files are not deleted. -Sending file from client to service: WEB-INF/attachments (Tomcat) -Sending file from service to client: C:\DOCUME1\user\Local Settings\Temp\Axis29066.att" I don't understand why the temporary file is not deleted. Please let me know. Here is my source code. Message msg = call.getMessageContext().getResponseMessage(); Attachments msgAttas = msg.getAttachmentsImpl(); Collection collection = msgAttas.getAttachments(); AttachmentPart[] attachmentParts = (AttachmentPart[]) collection.toArray(new AttachmentPart[0]); FileOutputStream fs = null; fs = new FileOutputStream(filePath); attachmentParts[0].getDataHandler().writeTo(fs); fs.close(); Jdk1.4 Tomcat4 Windows2000 thanks - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Axisxxxx.att TEMP file is not deleted.
Hi, I use Axis1.4 Attachments. Attachments file is received by the client, but Axis.att file in TEMP directory is not deleted. ex)C:\DOCUME~1\user\Local Settings\Temp\Axis29066.att" why? please let me know. I use "org.apache.axis.Message#getAttachmentsImpl()", It doesn't understand of why "org.apache.axis.attachments.ManagedMemoryDataSource#delete()" is not userd. Windows2000 Tomcat4 Axis1.4 Thanks, Hide - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]