What version of CXF?   That should definitely be working.

Dan


On Thursday 17 April 2008, stlecho wrote:
> Hi,
>
> I would like to generate a WSDL for the following method: "public
> List<Car> getAllCars();". In the generated WSDL I expect to have
> something similar to '<xs:element
> name="getAllCarsResponse"><xs:complexType><xs:sequence><xs:element
> minOccurs="0" name="return" nillable="true"
> type="xxx:Car"/></xs:sequence></xs:complexType></xs:element>'.
>
> When using JavaToWSDL, the generated WSDL contains '<xsd:element
> name="getAllCars" type="tns:getAllCars" /><xsd:complexType
> name="getAllCars"><xsd:sequence /></xsd:complexType><xsd:element
> name="getAllCarsResponse" type="tns:getAllCarsResponse"
> /><xsd:complexType
> name="getAllCarsResponse"><xsd:sequence><xsd:element
> maxOccurs="unbounded" minOccurs="0" name="return"
> /></xsd:sequence></xsd:complexType>'. There is no reference to the
> 'Car' element :o(.
>
> Based on this experience I was wondering if JavaToWSDL supports
> generics or should I specify an additional parameter to generate a
> reference to the 'Car' element in the 'getAllCarsResponse' element ?
>
> Regards, Stefan Lecho.



-- 
J. Daniel Kulp
Principal Engineer, IONA
[EMAIL PROTECTED]
http://www.dankulp.com/blog

Reply via email to