Hi Peter,
Sorry, you cannot use List, etc., as a return type, at the moment.
We need to wait for generic support from Groovy.
What we can do now is to use an array.
So you have to declare something like this:
Book[] getAllBooks() {
// retrieve books and convert them into an array
}
Cheers,
Chanwit
On 04/05/07, Peter Ledbrook <
peter@...> wrote:
> On 04/05/07, Chanwit Kaewkasi <
chanwit@...> wrote:
> > Hi all,
> >
> > XFire plugin has been updated to be compatible with Grails 0.5 and now released.
> > This version comes with XFire 1.2.6.
> >
> >
http://docs.codehaus.org/display/GRAILS/XFire+plugin> >
> > Cheers,
> >
> > Chanwit
>
> Hi Chanwit,
>
> How do you deal with collections in a service method's arguments or
> return type? I tried exposing a service of mine via 'xfire' but XFire
> complained about there being no component type specified for my List
> return type and List arguments.
>
> Thanks,
>
> Peter
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>
http://xircles.codehaus.org/manage_email>
>
--
Chanwit Kaewkasi
PhD Student,
Centre for Novel Computing
School of Computer Science
The University of Manchester
Oxford Road
Manchester
M13 9PL, UK
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email