From f46296e6dd461308264460d70b33571c6abfddfd Mon Sep 17 00:00:00 2001 From: Brian Rosenberger Date: Mon, 2 May 2011 18:08:04 +0000 Subject: [PATCH] Fix downloadFile operation to include filename git-svn-id: https://brutex.net/svn/xservices/trunk@60 e7e49efb-446e-492e-b9ec-fcafc1997a86 --- src/java/net/brutex/xservices/ws/impl/FileServiceImpl.java | 1 + 1 file changed, 1 insertion(+) 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; }