Copy an array

View: New views
4 Messages — Rating Filter:   Alert me  

Copy an array

by Stefano Tranquillini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi all.
there's the possibily to send directly an array to a webservice?
i've a service that returns an array, and i've another webservice that takes
in input an array.
how can i do the copy?
i'd to create an dimensioned array and copy with an for each element and
then put this array into the service?

there's examples?
in this moment i'm using the eclipse editor.

thanks.

--
Stefano

Re: Copy an array

by Milinda Pathirage :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

If you are using ODE 2.x you can use E4X extension.

Thanks
Milinda

On Mon, Nov 2, 2009 at 7:17 AM, Stefano Tranquillini <
stefano.tranquillini@...> wrote:

> Hi all.
> there's the possibily to send directly an array to a webservice?
> i've a service that returns an array, and i've another webservice that
> takes
> in input an array.
> how can i do the copy?
> i'd to create an dimensioned array and copy with an for each element and
> then put this array into the service?
>
> there's examples?
> in this moment i'm using the eclipse editor.
>
> thanks.
>
> --
> Stefano
>



--
Milinda Pathirage
Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
WSO2 Inc.; http://wso2.com
E-mail: milinda@..., milinda.pathirage@...
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com

Re: Copy an array

by Stefano Tranquillini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

actually i'm using 1.3, but if is more simple to use i can choose the 2.x,
anyway, what's this e4x?

PS: there's a roadmap for ode2?when the final relase will be avviable?

On Tue, Nov 3, 2009 at 23:21, Milinda Pathirage <milinda.pathirage@...
> wrote:

> If you are using ODE 2.x you can use E4X extension.
>
> Thanks
> Milinda
>
> On Mon, Nov 2, 2009 at 7:17 AM, Stefano Tranquillini <
> stefano.tranquillini@...> wrote:
>
> > Hi all.
> > there's the possibily to send directly an array to a webservice?
> > i've a service that returns an array, and i've another webservice that
> > takes
> > in input an array.
> > how can i do the copy?
> > i'd to create an dimensioned array and copy with an for each element and
> > then put this array into the service?
> >
> > there's examples?
> > in this moment i'm using the eclipse editor.
> >
> > thanks.
> >
> > --
> > Stefano
> >
>
>
>
> --
> Milinda Pathirage
> Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
> WSO2 <http://wso2.org/bps%0AWSO2> Inc.; http://wso2.com
> E-mail: milinda@..., milinda.pathirage@...
> Web: http://mpathirage.com
> Blog: http://blog.mpathirage.com
>



--
Stefano

Re: Copy an array

by Milinda Pathirage :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi Stefano,

E4X stands for EcmaScript for XML[1]. You can find more information on
Tammo's paper about this extension at [2].

Thanks
Milinda

[1] http://en.wikipedia.org/wiki/ECMAScript_for_XML
[2] http://ceur-ws.org/Vol-438/paper16.pdf


On Tue, Nov 3, 2009 at 11:52 PM, Stefano Tranquillini <
stefano.tranquillini@...> wrote:

> actually i'm using 1.3, but if is more simple to use i can choose the 2.x,
> anyway, what's this e4x?
>
> PS: there's a roadmap for ode2?when the final relase will be avviable?
>
> On Tue, Nov 3, 2009 at 23:21, Milinda Pathirage <
> milinda.pathirage@...
> > wrote:
>
> > If you are using ODE 2.x you can use E4X extension.
> >
> > Thanks
> > Milinda
> >
> > On Mon, Nov 2, 2009 at 7:17 AM, Stefano Tranquillini <
> > stefano.tranquillini@...> wrote:
> >
> > > Hi all.
> > > there's the possibily to send directly an array to a webservice?
> > > i've a service that returns an array, and i've another webservice that
> > > takes
> > > in input an array.
> > > how can i do the copy?
> > > i'd to create an dimensioned array and copy with an for each element
> and
> > > then put this array into the service?
> > >
> > > there's examples?
> > > in this moment i'm using the eclipse editor.
> > >
> > > thanks.
> > >
> > > --
> > > Stefano
> > >
> >
> >
> >
> > --
> > Milinda Pathirage
> > Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
> > WSO2 <http://wso2.org/bps%0AWSO2> Inc.; http://wso2.com
> > E-mail: milinda@..., milinda.pathirage@...
> > Web: http://mpathirage.com
> > Blog: http://blog.mpathirage.com
> >
>
>
>
> --
> Stefano
>



--
Milinda Pathirage
Senior Software Engineer & Product Manager WSO2 BPS; http://wso2.org/bps
WSO2 Inc.; http://wso2.com
E-mail: milinda@..., milinda.pathirage@...
Web: http://mpathirage.com
Blog: http://blog.mpathirage.com