Hello
 

My webservice have a method:

public Integer putDocument(DataHandler document) throws DMSServiceException {

return null;

}

 

I invoke this method from my client, everything ends ok.

But in temp directory for attachments on server stay two files(with the same size).

What should i do to remove them in my method.

I tried

f = new File(document.getName());

if (f != null) f.delete();

 

but it delete only one temp file.

Please help!!

 

Reply via email to