Re: MTOM is not working with Axis2 trunk

2009-10-11 Thread Senaka Fernando
Hi Andreas, On Sun, Oct 11, 2009 at 3:33 AM, Andreas Veithen wrote: > Senaka, > > The issue with the servlet transport is now fixed. See r823960 for > details. I too tested this and it works fine. Many thanks for the fix. > Not sure though how this relates to the issue with truncated > files

Re: MTOM is not working with Axis2 trunk

2009-10-10 Thread Andreas Veithen
Senaka, The issue with the servlet transport is now fixed. See r823960 for details. Not sure though how this relates to the issue with truncated files mentioned by Amila (which is different from the empty base64 issue). Andreas On Sat, Oct 10, 2009 at 15:37, Senaka Fernando wrote: > Hi Andreas,

Re: MTOM is not working with Axis2 trunk

2009-10-10 Thread Senaka Fernando
Hi Andreas, On Sat, Oct 10, 2009 at 6:40 PM, Andreas Veithen wrote: > Hi Senaka, > > I've just completed the work on the MTOM/ADB issue discovered by Amila > earlier this week. To summarize, this issue is triggered if the > message is MTOM but contains unoptimized base64 data with length zero, >

Re: MTOM is not working with Axis2 trunk

2009-10-10 Thread Andreas Veithen
Hi Senaka, I've just completed the work on the MTOM/ADB issue discovered by Amila earlier this week. To summarize, this issue is triggered if the message is MTOM but contains unoptimized base64 data with length zero, i.e. empty elements of type base64 (in contrast to xop:Include elements pointing

Re: MTOM is not working with Axis2 trunk

2009-10-10 Thread Senaka Fernando
Hi Andreas, Any update on this? I have had no luck so far with figuring out what could be exact cause to this and do a neat fix. While we can introduce a workaround and fix this, I don't think that it would be the best thing to do. I will have another go at this during this weekend and see if I ca

Re: MTOM is not working with Axis2 trunk

2009-10-05 Thread Andreas Veithen
I will try to free up some time tonight to do a debugging session. Andreas On Sun, Oct 4, 2009 at 06:58, Senaka Fernando wrote: > Folks, > > We need to get this fixed on Axis2. Andreas, do you have any idea to what > could be causing this issue? > > Thanks, > Senaka. > > On Tue, Sep 22, 2009 at

Re: MTOM is not working with Axis2 trunk

2009-10-03 Thread Senaka Fernando
Folks, We need to get this fixed on Axis2. Andreas, do you have any idea to what could be causing this issue? Thanks, Senaka. On Tue, Sep 22, 2009 at 5:19 PM, Senaka Fernando wrote: > Hi Andreas, > > Have you tested this with Axis2 deployed as a webapp? MTOM seems to work > fine with the Simpl

Re: MTOM is not working with Axis2 trunk

2009-09-22 Thread Senaka Fernando
Hi Andreas, Have you tested this with Axis2 deployed as a webapp? MTOM seems to work fine with the SimpleAxisServer but not when Axis2 is deployed as a webapp. Below is what I observed on TCPMon (first response is from the SimpleAxisServer). ---

Re: MTOM is not working with Axis2 trunk

2009-09-03 Thread Andreas Veithen
On Thu, Sep 3, 2009 at 05:51, Amila Suriarachchi wrote: > On Thu, Sep 3, 2009 at 3:16 AM, Andreas Veithen > wrote: > >> Hi Amila, >> >> I implemented a service and a client according to your description, >> but I'm unable to reproduce the issue. Any idea if this is a problem >> at client side or in

Re: MTOM is not working with Axis2 trunk

2009-09-02 Thread Amila Suriarachchi
On Thu, Sep 3, 2009 at 3:16 AM, Andreas Veithen wrote: > Hi Amila, > > I implemented a service and a client according to your description, > but I'm unable to reproduce the issue. Any idea if this is a problem > at client side or in the server? > you mean you get exactly the same file size after

Re: MTOM is not working with Axis2 trunk

2009-09-02 Thread Andreas Veithen
Hi Amila, I implemented a service and a client according to your description, but I'm unable to reproduce the issue. Any idea if this is a problem at client side or in the server? Andreas On Tue, Sep 1, 2009 at 14:27, Amila Suriarachchi wrote: > hi, > I tested the MTOM with the Axis2 trunk with

MTOM is not working with Axis2 trunk

2009-09-01 Thread Amila Suriarachchi
hi, I tested the MTOM with the Axis2 trunk with the following service public String sendFile(DataHandler dataHandler){ try { FileOutputStream fileOutputStream = new FileOutputStream("/home/amila/ec2-bak.tgz"); dataHandler.writeTo(fileOutputStream); file