Hi,

I would like to generate a WSDL for the following methods: 'public List<Car>
getAllCars();' and 'public Car getOneCar();'. 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 WSDL View, the generated WSDL contains '<xs:element
name="getOneCarResponse"><xs:complexType><xs:sequence><xs:element
minOccurs="0" name="return" nillable="true"
type="ns0:Car"/></xs:sequence></xs:complexType></xs:element><xs:element
name="getAllCarsResponse"><xs:complexType><xs:sequence><xs:element
minOccurs="0" name="return" nillable="true"
type="xs:anyType"/></xs:sequence></xs:complexType></xs:element>'. The
getAllCarsResponse element does not contain a reference to the 'Car' element
:o(.

Based on this experience I was wondering if WSDL View supports generics or
should I specify an additional parameter to generate a reference to the
'Car' element in the 'getAllCarsResponse' element ?

Regards, Stefan Lecho.

-- 
View this message in context: 
http://www.nabble.com/Does-WSDL-View-support-generics---tp16743209p16743209.html
Sent from the WSO2 WSAS Users mailing list archive at Nabble.com.


_______________________________________________
Wsas-java-user mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/wsas-java-user

Reply via email to