Hi,
I am using CXF 2.0.3 and JAXB. Just wondering if wsdl2java should work with
generics. Eg.
public interface SomeInterface<T> {
@WebMethod(operationName = "getItems")
public List<T> getItems();
}
@WebService(name="AWebService")
public interface AWebService extends SomeInterface<Item> {
}
If I run wsdl2java on AWebService it does not generate a schema for Item,
and the getItems operation does not specify a return type.
Eg.
<xsd:complexType name="getItems">
<xsd:sequence>
<xsd:element name="return"/>
</xsd:sequence>
</xsd:complexType>
Same problem if I go to /getItems?wsdl. If I move the getItems method to the
AWebService interface and remove any generic references it works.
Thanks,
Graham
--
View this message in context:
http://www.nabble.com/wsdl2java-not-recognizing-generics-tp14683222p14683222.html
Sent from the cxf-user mailing list archive at Nabble.com.