diff --git a/src/java/net/brutex/xservices/ws/impl/FileServiceImpl.java b/src/java/net/brutex/xservices/ws/impl/FileServiceImpl.java index 6c1d62a..cfc584b 100644 --- a/src/java/net/brutex/xservices/ws/impl/FileServiceImpl.java +++ b/src/java/net/brutex/xservices/ws/impl/FileServiceImpl.java @@ -95,6 +95,7 @@ public class FileServiceImpl implements FileService { "application/binary", is)); AttachmentType t = new AttachmentType(); t.setContent(h); + t.setFilename(res.getAntResource(null).getName()); return t; }