Did you really mean <jaxb roperty collectionType='indexed'/> Where did
you find this documentation?

On Fri, May 23, 2008 at 6:54 PM, Rahul_Ravikumar <[EMAIL PROTECTED]> wrote:
>
> I am trying to use CXF which is an implementation of JAX-WS and use the JAXB
> framework for binding. I my WDSL i have defined a number of complex types
> that are "ArrayOf<Types>". For e.g.
>
> <xs:complexType name="ArrayOfString">
> <xs:annotation>
> <xs:appinfo>
> <jaxb roperty collectionType="indexed"/>
> </xs:appinfo>
> <xs ocumentation>An object for holding a String array.</xs ocumentation>
> </xs:annotation>
> <xs:sequence>
> <xs:element minOccurs="0" maxOccurs="unbounded" name="String"
> type="xs:string" />
> </xs:sequence>
> </xs:complexType>
>
> In Axis 1.4, this "ArrayOfString" type gets mapped to String []. However
> when i use CXF it generates an ArrayOfString class that consists of a member
> List<String> accessible through getter methods.
>
> I would however like to map ArrayOfTypes to Type [] or List<Type>. I read
> some of the documentation and it was suggested that i use the <jaxb roperty
> collectionType="indexed"/> when defining the complex type. But this does NOT
> help. The WSDL2Java still generates a ArrayOfType class.
>
> Can someone please help me out?
> --
> View this message in context: 
> http://www.nabble.com/Array-Of-Unbound-Types-tp17442311p17442311.html
> Sent from the cxf-user mailing list archive at Nabble.com.
>
>

Reply via email to