public void fileUpload(String name, @XmlMimeType("application/octet-stream") DataHandler data) {
try {
StreamingDataHandler dh = (StreamingDataHandler)data;
File file = File.createTempFile(name, "");
System.out.println("Creating file = "+file);
dh.moveTo(file);
dh.close();
System.out.println("Verifying file = "+file);
verifyFile(file);
System.out.println("Verified file = "+file);
file.delete();