Fix downloadFile operation to include filename
git-svn-id: https://brutex.net/svn/xservices/trunk@60 e7e49efb-446e-492e-b9ec-fcafc1997a86tag-20130205r
parent
eed2c21c0f
commit
f46296e6dd
|
@ -95,6 +95,7 @@ public class FileServiceImpl implements FileService {
|
||||||
"application/binary", is));
|
"application/binary", is));
|
||||||
AttachmentType t = new AttachmentType();
|
AttachmentType t = new AttachmentType();
|
||||||
t.setContent(h);
|
t.setContent(h);
|
||||||
|
t.setFilename(res.getAntResource(null).getName());
|
||||||
return t;
|
return t;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue