axis2 - file cache for attachments - file name?

2012-05-17 Thread eric johnson
Hi, I've set up file caching for attachments by following these instructions: http://axis.apache.org/axis2/java/core/docs/mtom-guide.html#a4 I need a way to programmatically know what the name of the file that was created is so that in my web services skeleton I can process the file. How can

Re: axis2 - file cache for attachments - file name?

2012-05-17 Thread Andreas Veithen
The DataSource stored in the DataHandler that represents the attachment is actually a FileDataSource instance and you can get the name of the file from there. However, the fact that Axiom leaks the file name is actually a design flaw and this will no longer be supported in future Axis2/Axiom