Hey David, by using a binding file for code generation, you will be able to modify single fields:
The <member> element[1] allows to set the collection type as an attribute: collection? = (array|vector|arraylist|hashtable|collection|odmg|set|map|sortedset) When generating a huge WSDL of course this is not reasonable. At the moment, I can't find any documentation for that, but I'm pretty sure by adding a properties file you can set the collection type. Have a look at the Reference Guide[2]. Lukas [1] Castor Reference Guide - Custom Bindings, the <member> element: http://castor.org/reference/html-single/index.html#d0e4880 [2] Castor Reference Guide - Properties: http://castor.org/reference/html-single/index.html#xml.code.generator.properties KARR, DAVID (ATTCINW) schrieb: > I haven't yet gone through the manual, so I apologize if this is > covered, but I noticed that "out of the box" generated code uses Vector > for collection types instead of ArrayList. This seems like an odd > choice to me, as Vector is synchronized, and ArrayList isn't. > > Why was it done this way? > > Is there an easy way to make all collections use ArrayList instead? > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > > --------------------------------------------------------------------- To unsubscribe from this list, please visit: http://xircles.codehaus.org/manage_email

