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=13665>. 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=13665 A 0xFF in an attachment can mask as an EOF Summary: A 0xFF in an attachment can mask as an EOF Product: Axis Version: 1.0-rc2 Platform: All OS/Version: All Status: NEW Severity: Normal Priority: Other Component: Serialization/Deserialization AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] If I have a service: public void MyService { public void foo(javax.activation.DataHandler in) throws Exception { InputStream is = in.getInputStream(); int count = 0; int i; System.out.println("AVAILABLE="+in.available()); while ((i = is.read()) != -1) { count++; } is.close(); System.out.println("COUNT="+count); } } And I send an attachment of length 1000 with a 0xFF at byte 100, the output is: AVAILABLE=1000 COUNT=100 I would expect the output to be: AVAILABLE=1000 COUNT=1000