The Axis DIME code does support chunking. However i have found no mechanism to
send it in chunks.This is because it utilising the existing attchment interface
which did not support DIME chunking. Modifing the AttachmentsImpl.java would
allow for sending DataHandler attachments with chunks, but the question becomes
what size chunk. The chunk size is not available as a parameter in the existing
attachment interface so i guess hardng coding a uper value is not too silly.
Jusat checked the DimeBodyPArt.java and the lmit for chunk is set to MAX_DWORD
= 0xffffffffL;
if (maxchunk > MAX_DWORD) throw new IllegalArgumentException(
Messages.getMessage("attach.dimeMaxChunkSize1", "" +
maxchunk));
i have given up tying to chunk Axis for the moment.
-lp
>>> [EMAIL PROTECTED] 01/14/05 11:48pm >>>
Does anyone know whether Apache Axis 1.2RC2 supports DIME chunking? I
modified my code to send a file as an attachment as opposed to a base64
encoded parameter to my web service (Also Axis-based). It still chokes on
sending file larger than 6.8 MB. I have modified the heap size on the
client, but that doesn't seem to help.
Thanks,
Mike
This message has passed through an insecure network.
Please direct all enquires to the message author.