Dear Wiki user, You have subscribed to a wiki page or wiki category on "Ws Wiki" for change notification.
The following page has been changed by RodrigoRuiz: http://wiki.apache.org/ws/FrontPage/Axis/AttachmentProblems ------------------------------------------------------------------------------ ##language:en - Ensure that mail.jar (Java Mail) and activation.jar (Java Activaton Framework) are included in your Axis deployment. + Ensure that mail.jar (Java Mail) and activation.jar (Java Activation Framework) are included in your Axis deployment. + + == DIME attachment problems == + + The default client transport handler has problems sending and receiving attachments in DIME format. For large attachments (more than 1MB, or 8 chunks), an exception will be raised about corrupted stream data, or end of physical stream when more DIME chunks expected. + + A workaround to this problem is to switch to the transport handler that uses commons-http-client. + + For this, download commons-http-client-3.0 and commons-codec from the jakarta site, add the jars to the client classpath, and modify the {{{client-config.wsdd}}} file to ensure that it uses the correct handler: + {{{ + <deployment name="defaultClientConfig" ...> + <transport name="http" pivot="java:org.apache.axis.transport.http.CommonsHTTPSender"/> + ... + </deployment> + }}} +
