You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ode.apache.org by Håkon Sagehaug <Ha...@bccs.uib.no> on 2009/09/18 13:41:09 UTC

Re: Does ODE support MTOM ?

Hi

Just curious about if ode supports mtom? I did not get a clear answer out of
reading this thread.

cheers

2009/7/10 Thilina Gunarathne <cs...@gmail.com>

> Hi.
> IIRC ODE does not use Axiom internally and converts to DOM (Please correct
> me if I'm wrong).. Axiom has support for carrying binary data in accordance
> with XOP/MTOM specs, through OMtext nodes. But I'm not sure how ODE handles
> the conversion to/from Axiom. There is a very good chance that ODE model
> will get the binary data in a OMText as a base64 string in the DOM text
> node, as OMText.getText() will automatically do the conversion in case it
> contains binary. This is still valid MTOM, but rather little inefficient
> and
> lacks the ability to handle very large binary data pieces. If this is not
> working, then it should be a very trivial fix to the conversion code.
>
> I don't think ODE will support sending MTOM messages, as there is no way to
> configure the output as MTOM, unless MTOM policy kicks in..
>
> thanks,
> Thilina
>
> On Thu, Jul 9, 2009 at 6:43 PM, Matthieu Riou <matthieu.riou@gmail.com
> >wrote:
>
> > On Tue, Jul 7, 2009 at 3:00 PM, Marcel Casado <ma...@ucar.edu> wrote:
> >
> > > Hi,
> > >
> > > I have a process that calls an external service and the external
> service
> > > returns MTOM attachments. Can I copy them and return them to the
> process
> > > response?  Do I need to enable MTOM  in some way on ODE ?  Is there any
> > test
> > > case ?
> > >
> >
> > No test case but MTOM is provided by Axis2 so it should be fairly
> > transparent from ODE's standpoint. If I remember correctly, MTOM needs to
> > be
> > enabled explicitly though, I'd check the Axis2 doc.
> >
> > Matthieu
> >
> >
> > >
> > > Thanks,
> > >
> > > -Marcel
> > >
> >
>
>
>
> --
> Thilina Gunarathne  - http://thilinag.blogspot.com
>



-- 
Håkon Sagehaug, Scientific Programmer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Re: Does ODE support MTOM ?

Posted by Alex Boisvert <bo...@intalio.com>.
Based on the conversation and without evidence that it does, I would assume
it doesn't at the moment.

alex


2009/9/18 Håkon Sagehaug <Ha...@bccs.uib.no>

> Hi
>
> Just curious about if ode supports mtom? I did not get a clear answer out
> of
> reading this thread.
>
> cheers
>
> 2009/7/10 Thilina Gunarathne <cs...@gmail.com>
>
> > Hi.
> > IIRC ODE does not use Axiom internally and converts to DOM (Please
> correct
> > me if I'm wrong).. Axiom has support for carrying binary data in
> accordance
> > with XOP/MTOM specs, through OMtext nodes. But I'm not sure how ODE
> handles
> > the conversion to/from Axiom. There is a very good chance that ODE model
> > will get the binary data in a OMText as a base64 string in the DOM text
> > node, as OMText.getText() will automatically do the conversion in case it
> > contains binary. This is still valid MTOM, but rather little inefficient
> > and
> > lacks the ability to handle very large binary data pieces. If this is not
> > working, then it should be a very trivial fix to the conversion code.
> >
> > I don't think ODE will support sending MTOM messages, as there is no way
> to
> > configure the output as MTOM, unless MTOM policy kicks in..
> >
> > thanks,
> > Thilina
> >
> > On Thu, Jul 9, 2009 at 6:43 PM, Matthieu Riou <matthieu.riou@gmail.com
> > >wrote:
> >
> > > On Tue, Jul 7, 2009 at 3:00 PM, Marcel Casado <ma...@ucar.edu> wrote:
> > >
> > > > Hi,
> > > >
> > > > I have a process that calls an external service and the external
> > service
> > > > returns MTOM attachments. Can I copy them and return them to the
> > process
> > > > response?  Do I need to enable MTOM  in some way on ODE ?  Is there
> any
> > > test
> > > > case ?
> > > >
> > >
> > > No test case but MTOM is provided by Axis2 so it should be fairly
> > > transparent from ODE's standpoint. If I remember correctly, MTOM needs
> to
> > > be
> > > enabled explicitly though, I'd check the Axis2 doc.
> > >
> > > Matthieu
> > >
> > >
> > > >
> > > > Thanks,
> > > >
> > > > -Marcel
> > > >
> > >
> >
> >
> >
> > --
> > Thilina Gunarathne  - http://thilinag.blogspot.com
> >
>
>
>
> --
> Håkon Sagehaug, Scientific Programmer
> Parallab, Bergen Center for Computational Science (BCCS)
> UNIFOB AS (University of Bergen Research Company)
>