If you set nillable to false it might do what you want. On the other hand, it might be that this is the never-implemented 'flat' feature of Aegis.
> -----Original Message----- > From: Kaleb Walton [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 06, 2007 8:55 AM > To: cxf-user@incubator.apache.org > Subject: Aegis databinding and Java 5 Generic List creating extra > "anyType" field > > > > Thanks to Aegis databinding I can specify the minOccurs on my primitive > fields so the WSDL contract doesn't force them to be required. However, > Aegis has introduced something else that I'm not familiar with. It may be > "proper" but I'm not familiar with it and it seems to add one more level > of > a property between a field name and it's value. > > I have an object defined as such: > > class ServiceListResult<T> { > private List<T> items; > //getters/setters > } > > T is a Java 5 generic class reference. > > When using the Simple Server default data binding my object looked like > this when output from PHP: > > [items] => Array > ( > [0] => stdClass Object > ( > ... > ) > ) > > Now it looks like this: > > [items] => sdtClass Object > ( > [anyType] => Array > ( > [0] => stdClass Object > ( > ... > ) > ) > ) > > > Is there any way to make the output look like the Simple Server did or is > this the "proper" output since I'm using generics? > > Regards, > Kaleb