[ 
https://issues.apache.org/jira/browse/CXF-2241?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Daniel Kulp resolved CXF-2241.
------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2.3
                   2.1.6
         Assignee: Daniel Kulp

> wsdl2java produces code with compile error, trying to instantiate abstract 
> class
> --------------------------------------------------------------------------------
>
>                 Key: CXF-2241
>                 URL: https://issues.apache.org/jira/browse/CXF-2241
>             Project: CXF
>          Issue Type: Bug
>    Affects Versions: 2.2.1
>         Environment: Linux, Eclipse 3.5RC1
>            Reporter: Christopher Marshall
>            Assignee: Daniel Kulp
>             Fix For: 2.1.6, 2.2.3
>
>
> For wsdl that includes abstract complex types as:
>       <complexType name="ReportJob" abstract="true">
>         <sequence>
>           <element name="clientEmails" minOccurs="0" maxOccurs="unbounded" 
> type="xsd:string"/>
>           <element name="crossClient" minOccurs="0" type="xsd:boolean"/>
>           <element name="endDay" type="xsd:date"/>
>           <element name="id" minOccurs="0" type="xsd:long"/>
>           <element name="name" minOccurs="0" type="xsd:string"/>
>           <element name="startDay" type="xsd:date"/>
>           <element name="status" minOccurs="0" type="impl:ReportJobStatus"/>
>         </sequence>
>       </complexType>
> an abstract class will be generated and the sample client will include code 
> that tries to instantiate this class which of course causes a complile error.
> The sample above is from the Google AdWords API and the full WSDL can be 
> downloaded from:
> https://adwords.google.com/api/adwords/v13/ReportService?wsdl
> Chris Marshall

-- 
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