Interesting, haven't tried this, can you try it with Metro, see if you can get what you expected.
I personally don't like generics been heavily used, just make the system more and more complex. I'm wondering if we Can we find an alternative way to the generics? James
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
