Is it possible to return an arraylist from a service

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Is it possible to return an arraylist from a service

Aravind_RP
hey guys

am now trying to access a service using rmi and is it possible to obtain the output as a list rather than a map.i mean now for every out variable we have to define in service.xml right.is it possible to just say a single name and return more than one value..

please help it is urgent...
Reply | Threaded
Open this post in threaded view
|

Re: Is it possible to return an arraylist from a service

BJ Freeman
I would say you have to write your own service (java) to convert a map
to a list and back again. then have that service call the services in
ofbiz using maps.

Aravind_RP sent the following on 5/27/2008 7:11 AM:
> hey guys
>
> am now trying to access a service using rmi and is it possible to obtain the
> output as a list rather than a map.i mean now for every out variable we have
> to define in service.xml right.is it possible to just say a single name and
> return more than one value..
>
> please help it is urgent...