You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by bu...@apache.org on 2003/01/29 14:10:14 UTC
DO NOT REPLY [Bug 16538] New: -
AttachmentsImpl.getAttachmentCount not properly implemented
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16538>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=16538
AttachmentsImpl.getAttachmentCount not properly implemented
Summary: AttachmentsImpl.getAttachmentCount not properly
implemented
Product: Axis
Version: 1.1beta
Platform: Sun
OS/Version: Solaris
Status: NEW
Severity: Normal
Priority: Other
Component: Basic Architecture
AssignedTo: axis-dev@xml.apache.org
ReportedBy: andreas.siegers@iocore.se
Hi.
Sending attachments to a server on Sun solaris over 1024 bytes, it seems like
the axis server needs to create a temp file.
In my WebService I call the method myMessageContext.getMessage
().countAttachments(), the count attachment generates a 'Permission denied'
when creating the tempfile. The AttachmentsImpl.getAttachmentCount() just catch
the Exception and do nothing with it, when it should rethrow it ?!, instead of
just returning zero.
Whats also strange is that a second call to getAttachmentCount() generates the
correct number of attachments ?!
regards
Andreas Siegers
andreas.siegers@iocore.se