Colin, I guess you have a collection of beans, which in turn INTERNALLY (i.e.
an attribute) has a collection. In that case you should specify the
collection type returned from the interface in the myService.aegis.xml file
(i.e. com.foo.MyBean) and then create a MyBean.aegis.xml file specifying
that the property myCollection is a collection of type com.foo.Bar). So two
mapping files in your case.

Unless I understood incorrectly, it seems this is not a Collection of
Collections issue.

Cheers
Andres Bernasconi

On 11/29/06, Dan Diephouse <[EMAIL PROTECTED]> wrote:

Hi Colin,

Did you see the section entitled "Collections of Collections of
Collections..." here? http://xfire.codehaus.org/Mapping+collections

- Dan

On 11/28/06, Colin Chalmers <[EMAIL PROTECTED]> wrote:
>
> Hi all,
>
> I've recently discovered XFire and am pleased at the ease of
> installation compared to Axis ;-)
> Hopefully the performance tests posted on the site are correct which
> will only reinforce my decision to implement XFire instead of one of the
>
> alternatives.
>
> After completing the simple echo example for working with Spring I'm now
> trying to get a real life service up and running but am having problems
> with collections.
> My service has two methods which return collections of type foo.
> I followed the info on setting up the myService.aegis.xml file and got a
> huge step further. BUT the return component type (foo) which I specify
> also returns a collection from one of it's methods, foo2. Hmm, how can I
>
> configure this? Can I keep it in the same aegis mapping file or do I
> need to have a seperate mapping file for every class in the object graph
> and place them in the same package as the interface itself?
>
> I'm using the latest release of XFire together with Spring 2.0
>
> /Colin
>
> ---------------------------------------------------------------------
> To unsubscribe from this list please visit:
>
>     http://xircles.codehaus.org/manage_email
>
>


--
Dan Diephouse
Envoi Solutions
http://envoisolutions.com | http://netzooid.com/blog

Reply via email to