Hi,
we are facing an issue with a cxf 2.7.4 client that runs on Apache Tomcat 6
and jdk 6 (both on windows and Linux). 

The problem is similar to that described in this already closed issue:

https://issues.apache.org/jira/browse/CXF-2106

When the response from the server contains an attachment whose size is
greater than 64KB a file in a folder like "/tmp/cxf-tmp-189150" is created
and never deleted.

The main difference with respect to that issue is that the attachments in
the message are not delivered according to the standard MTOM but the wsdl
uses the "swaref" standard. I include below a simplified extract from the
wsdl:



The generated java class "Document" contains a field with a DataHandler, as
expected, for the swaref element:



In the complex type there is also an mtom element that uses the mtom
standard but we have to use the swaref for a restriction on the server.

Any ideas?
Thank you very much.
Stefano




--
View this message in context: 
http://cxf.547215.n5.nabble.com/Temporary-files-created-for-data-over-64kb-are-never-deleted-swaref-tp5738911.html
Sent from the cxf-user mailing list archive at Nabble.com.

Reply via email to