Dan,
The original post was the output of CXF v2.0.5.
When trying with CXF v2.1-incubator-snapshot of 2008-04-15, the
getAllCarsResponse remains a sequence without any reference to the Car
element: xsd:element name=getAllCarsResponse
type=tns:getAllCarsResponse/xsd:complexType
Ian,
Unfortunately, Car is an interface and not a concrete class.
Regards, Stefan Lecho.
ianroberts wrote:
stlecho wrote:
Hi,
I would like to generate a WSDL for the following method: public
ListCar
getAllCars();.
This should work as you expect, so long as Car is a concrete class
On Monday 21 April 2008, stlecho wrote:
Ian,
Unfortunately, Car is an interface and not a concrete class.
Yea, that would be the issue. JAXB doesn't support interfaces directly,
just concrete beans. To get this to work, you would need to write an
XmlJavaTypeAdapter to convert the Car
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
ListCar getAllCars();. In the generated WSDL I expect to have
something similar to 'xs:element