We fixed this problem as described in axis wiki :: 
http://wiki.apache.org/ws/FrontPage/Axis/AttachmentProblems
Ss
----- Original Message ----
From: ss shah <[EMAIL PROTECTED]>
To: [email protected]
Sent: Thursday, June 26, 2008 9:48:06 PM
Subject: DIME attachment error


Hi All,
 
We are getting following error in server when receiving a DIME attachment of 
size more than 1M from the client (client and server both are using Apache Axis 
1.4)
 
java.io.IOException: End of physical stream detected when 10 more bytes expected
 
This happens only when client specially sets the format type to be DIME by 
following statement:
 
call.setProperty(Call.ATTACHMENT_ENCAPSULATION_FORMAT,
                    Call.ATTACHMENT_ENCAPSULATION_FORMAT_DIME);
 
If we remove above statement than default is MIME for apache axis and it works 
fine. 
 
Also we get the error ONLY for attachments larger than 1M, it works fine upto 
1M.
 
Thanks,
Ss



      

Reply via email to