ArrayOfType generated in WSDL using simple front end and aegis binding
----------------------------------------------------------------------

                 Key: CXF-2060
                 URL: https://issues.apache.org/jira/browse/CXF-2060
             Project: CXF
          Issue Type: Bug
            Reporter: Jovita Jean


While doing code first developement using CXF with Simple Front End and Aegis 
Databinding , the generated WSDL has  ArrayOfEType instead of EType[] or a 
List<EType>. Where EType is a pojo with name and description. Is there a way to 
avoid the arrayOfType.

<xsd:complexType name="ArrayOfTEType">
        <xsd:sequence>
            <xsd:element maxOccurs="unbounded" minOccurs="0" name="EType" 
nillable="true" type="tns:EType" />
        </xsd:sequence>
    </xsd:complexType>
    <xsd:complexType name="EType">
        <xsd:sequence>
            <xsd:element minOccurs="0" name="description" nillable="true" 
type="xsd:string" />
            <xsd:element minOccurs="0" name="name" nillable="true" 
type="xsd:string" />
        </xsd:sequence>
    </xsd:complexType>

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to