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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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
[EMAIL PROTECTED]

Reply via email to