SV: How to return array of beans

2004-02-29 Thread Rosén Håkan
: How to return array of beans Hi there,   I have a similar sample code. It takes a bean as an input but it returns a Collection of beans as oppose to an Array of beans. Is it possible for you to use Collection?   Cheers, Tony.Rosén_Håkan <[EMAIL PROTECTED]> wrote: Hi

RE: How to return array of beans

2004-02-27 Thread Heitzeg, Bill
[EMAIL PROTECTED] Subject: RE: How to return array of beans I described this earlier in a post. Basically it comes down to modifying your beans. Wherever you have an array, you have to provide methods to set the array, get the array, set an individual item in the array, and get an indiv

RE: How to return array of beans

2004-02-27 Thread Heitzeg, Bill
Håkan [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 8:48 AM To: '[EMAIL PROTECTED]' Subject: How to return array of beans Hi I try to deploy a service but i'm stuck halfways. I have written a small service that takes a javabean (Album) as input and returns

Re: How to return array of beans

2004-02-27 Thread Tony Blair
Hi there,   I have a similar sample code. It takes a bean as an input but it returns a Collection of beans as oppose to an Array of beans. Is it possible for you to use Collection?   Cheers, Tony.Rosén_Håkan <[EMAIL PROTECTED]> wrote: Hi I try to deploy a service but i'm stuck halfways.I have writt

How to return array of beans

2004-02-27 Thread Rosén Håkan
Hi I try to deploy a service but i'm stuck halfways. I have written a small service that takes a javabean (Album) as input and returns an array of the same bean (Album[]) as output, I can call my service with a bean-parameter but when I return the array I get a ClassCastException. I think my prob