Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 34961 invoked from network); 20 Aug 2004 11:38:29 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur-2.apache.org with SMTP; 20 Aug 2004 11:38:29 -0000 Received: (qmail 67956 invoked by uid 500); 20 Aug 2004 11:38:14 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 67818 invoked by uid 500); 20 Aug 2004 11:38:12 -0000 Mailing-List: contact axis-user-help@ws.apache.org; run by ezmlm Precedence: bulk Reply-To: axis-user@ws.apache.org list-help: list-unsubscribe: list-post: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 67809 invoked by uid 99); 20 Aug 2004 11:38:12 -0000 X-ASF-Spam-Status: No, hits=0.4 required=10.0 tests=SPF_HELO_FAIL X-Spam-Check-By: apache.org Received: from [209.68.3.43] (HELO wbm2.pair.net) (209.68.3.43) by apache.org (qpsmtpd/0.27.1) with SMTP; Fri, 20 Aug 2004 04:38:09 -0700 Received: (qmail 68245 invoked by uid 65534); 20 Aug 2004 11:38:08 -0000 Received: from 220.247.231.228 ([220.247.231.228]) (SquirrelMail authenticated user jkumaran@opensource.lk); by webmail2.pair.com with HTTP; Fri, 20 Aug 2004 07:38:08 -0400 (EDT) Message-ID: <2309.220.247.231.228.1093001888.squirrel@220.247.231.228> In-Reply-To: <200408192158578.SM00300@qalab10> References: <200408192158578.SM00300@qalab10> Date: Fri, 20 Aug 2004 07:38:08 -0400 (EDT) Subject: RE: SOAPAttachment --Size problem? From: "Chandrasegaram Jeyakumaran" To: axis-user@ws.apache.org Reply-To: jkumaran@opensource.lk User-Agent: SquirrelMail/1.4.3a X-Mailer: SquirrelMail/1.4.3a MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Checked: Checked X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N Hi all, First of all thankyou for your great help for my problem. I think I am getting closer to the solution. In my webservice I parse two parameters where one is datahandler and other one is a JavaBean. So automatically the DataHandler is treated as attachment(MimePart). Do you think that it is impossible to send bean and datahandler as parameter. In the server side I get the datahandler and again create a Mime object. Do I need to go with attachmentpart. Thanks In advance:) regards, Jeyakumara > Hi Jeyakumaran, > > This seems to be a issue with the client side code which is adding the > MIME > attachment. > Is it possible for you to send the code written to send the attachments? > > Also checkout the following links which talks about a similar problem : > http://java2.5341.com/msg/51371.html > http://java2.5341.com/msg/51385.html > > Thanks > Bhuvan > > -----Original Message----- > From: Chandrasegaram Jeyakumaran [mailto:jkumaran@opensource.lk] > Sent: Friday, August 20, 2004 8:56 AM > To: axis-user@ws.apache.org > Subject: SOAPAttachment --Size problem? > > > Hi, > > I am working with axis application which handles the SOAP attachment. > In my attachment I set an image(the way How javamail deals) in the client > side and send to an axis server. > > But it fails in the deserialization with this message. > java.io.IOException: End of stream encountered before final boundary > marker. > > But with a small attachment(for e.g. text as an attachment) it works > correctly. > > I am using the default typemapping of DataHandler. > Is it bug when the attachment size getting bigger in Axis, or am I getting > any mistake here. > (My SOAPMonitor also some time hangs when I use this:)) > > Could anybody help me with ideas? > > Thanks in advance > > regards, > Jeyakumaran.C > > Lanka Software Foundation > Promoting opensource in Srilanka > > Fiorano MailServer > All incoming and outgoing mails are scanned for Virus and Spam > http://www.fiorano.com > > > Lanka Software Foundation Promoting opensource in Srilanka