Return-Path: Delivered-To: apmail-ws-axis-user-archive@www.apache.org Received: (qmail 88437 invoked from network); 20 May 2009 16:25:54 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 20 May 2009 16:25:54 -0000 Received: (qmail 33883 invoked by uid 500); 20 May 2009 16:26:04 -0000 Delivered-To: apmail-ws-axis-user-archive@ws.apache.org Received: (qmail 33831 invoked by uid 500); 20 May 2009 16:26:04 -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: List-Id: Delivered-To: mailing list axis-user@ws.apache.org Received: (qmail 33822 invoked by uid 99); 20 May 2009 16:26:04 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 16:26:04 +0000 X-ASF-Spam-Status: No, hits=-0.0 required=10.0 tests=SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: local policy) Received: from [64.78.17.17] (HELO EXHUB018-2.exch018.msoutlookonline.net) (64.78.17.17) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 20 May 2009 16:25:54 +0000 Received: from EXVMBX018-12.exch018.msoutlookonline.net ([64.78.17.53]) by EXHUB018-2.exch018.msoutlookonline.net ([64.78.17.17]) with mapi; Wed, 20 May 2009 09:25:32 -0700 From: Sanjay Gupta To: "axis-user@ws.apache.org" Date: Wed, 20 May 2009 09:26:10 -0700 Subject: RE: Problem with MTOM Thread-Topic: Problem with MTOM Thread-Index: AcnZYhazkeOwfNAsRmqDKYHwK+HRTAABQNBQ Message-ID: <8A3D150B7B714946B375ED1A129939DDC6604745@EXVMBX018-12.exch018.msoutlookonline.net> References: <445a8b100905200817t1100508fr3ab3a0624aa5526@mail.gmail.com> <445a8b100905200825g55f2383ct8a48dd9678c1797d@mail.gmail.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Virus-Checked: Checked by ClamAV on apache.org I had the exact same issue few weeks back and martin gainty helped me. I ha= ven't tried his solution yet. I have been so busy with other things. See th= e thread "Sending binary data(not using MTOM) using DataHandler".=20 Thanks Sanjay -----Original Message----- From: Andreas Veithen [mailto:andreas.veithen@gmail.com]=20 Sent: Wednesday, May 20, 2009 8:46 AM To: axis-user@ws.apache.org Subject: Re: Problem with MTOM Massimiliano, Can you check whether replacing the Axiom JARs with version 1.2.9-SNAPSHOT fixes this issue? You can download them from [1]. If that doesn't help, can you try to use tcpmon or Wireshark to determine whether the content is truncated on the server or client side? Andreas [1] http://people.apache.org/repo/m2-snapshot-repository/org/apache/ws/comm= ons/axiom/ On Wed, May 20, 2009 at 17:25, Massimiliano Ziccardi wrote: >>Which version of Axis2 > > I'm using AXIS2 1.4.1. > >>and Axiom do you use? > > All the jars I use are from the AXIS2 1.4.1 package. > >>Is the client also Axis2 based? > > Both client and server are AXIS2 1.4.1 > > Thank you very much for you prompt help! > > Massimiliano > > > On Wed, May 20, 2009 at 5:22 PM, Andreas Veithen > wrote: >> >> Massimiliano, >> >> Which version of Axis2 and Axiom do you use? >> Is the client also Axis2 based? >> >> Andreas >> >> On Wed, May 20, 2009 at 17:17, Massimiliano Ziccardi >> wrote: >> > Hi all. >> > >> > I've a simlpe pojo class: >> > >> > public class MyClass >> > { >> > =A0=A0 public DataHandler getFile() >> > =A0=A0 { >> > =A0=A0=A0=A0=A0=A0 return new DataHandler(new FileDataSource(new >> > File("/tmp/myfile"))); >> > =A0=A0 } >> > } >> > >> > I've published that pojo as a WebService. >> > >> > The problem is that, on the client side, the file is always truncated = at >> > 12123 bytes. >> > >> > How can I solve this issue? >> > >> > Thanks, >> > Massimiliano >> > > >