You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by ss shah <ss...@yahoo.com> on 2008/06/27 03:48:06 UTC

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