uCosminexus Application Server, Web Service Development Guide

[Contents][Glossary][Index][Back][Next]

32.3.2 Output and Deletion

A temporary file will be output when a SOAP message of MIME Multipart/Related structure containing an attachment is received. The temporary file corresponding to the MIME body of the root part is deleted by the JAX-WS engine after un-marshaling the SOAP message. The temporary file corresponding to the MIME body of the attachment part is deleted when the streamed attachment is closed (when the StreamingDataHandler#close() method is invoked).

While receiving the SOAP messages of the MIME Multipart/Related structure, the temporary file might remain undeleted if the connection breaks or if the JVM shuts down. Delete the temporary file if it is not deleted automatically.