I noted that my Axis client does not dump the attachments to a file unless I use some data handler function that forces it. For example, if I use dh.getName() Axis will dump the contents to a temp file and return its name. If you just use dh.writeTo() to specify where to put the data, Axis will not created the temp file (if it breates the file, I cannot percieve it). If you ask for the file, Axis will grant ownership to you, and it is your responsability to get rid of it (or move it, rename it, whatever). When I just do DataHandler dh = part.getDataHandler(); dh.writeTo(new java.io.FileOutputStream(myDestinationFileName)); no temp is created. Cheers. ============================================= Marcelo Jaccoud Amaral mailto:jaccoud [at] petrobras.com.br voice: +55 21 2534-3485 fax: +55 21 2534-1809 ============================================= There are only 10 kinds of people in the world: those who understand binary and those who don't.
- Axis attachment file created in the Temp ... Subhendu Kumar mohanty
- Re: Axis attachment file created in ... BLIS Webmaster (Patrick Houbaux)
- Re: Axis attachment file created in ... jzhang
- RE: Axis attachment file created in ... Subhendu Kumar mohanty
- Re: Axis attachment file created... BLIS Webmaster (Patrick Houbaux)
- RE: Axis attachment file created in ... Subhendu Kumar mohanty
- RE: Axis attachment file created in ... jzhang
- RE: Axis attachment file created in ... jaccoud
- RE: Axis attachment file created in ... Javier_Gimenez_Escudero
- Re: Axis attachment file created... Rodrigo Ruiz
- RE: Axis attachment file created in ... jaccoud
- RE: Axis attachment file created... Davanum Srinivas
- RE: Axis attachment file created in ... Kellogg, Richard
- RE: Axis attachment file created in ... Subhendu Kumar mohanty
- RE: Axis attachment file created in ... jaccoud
- RE: Axis attachment file created in ... Subhendu Kumar mohanty
- Re: Axis attachment file created... Rodrigo Ruiz
- AXIS serialization/deseriali... Tony Opatha