users@jax-ws.java.net

Arrays to generic lists?

From: Ryan LeCompte <Ryan.LeCompte_at_pangonetworks.com>
Date: Thu, 17 Aug 2006 14:36:53 -0400

Hello all,
 
I've just recently started work with JAX-WS 2.0 after using JWSDP 1.6, and I've noticed that the generated code from wsimport (when a WSDL is used as the source) is a bit different from what was generated in JWSDP 1.6. Specifically, I've noticed that array types are now generated as List<MyObject> instead of MyObject[]. Is there any particular reason for this? Is there a way to force the generated code to use an array as it did in JWSDP 1.6, or am I stuck the with the genericized List?
 
Thanks!
 
Ryan