no any volunteer to answer? :) On Sun, May 10, 2009 at 6:36 PM, Reza Farshi <reza.far...@gmail.com> wrote:
> hi pals, > I tried to create web service client for one of my manager classes (eg > DeviceManager) , > I am usinge GenericManager for handling service layer. > and also I am using web service by enabling @WebService annotation, > wsdl file successfully genereated by XFire but when I created ws clinent > b/c of exsiting following lines in WSDL file > > <xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" > targetNamespace="http://io.java"> > <xsd:complexType name="Serializable"/> > </xsd:schema> > > generated stubs have codes something like this > > public class Serializable implements java.io.Serializable { > public Serializable() { > } > > so I got this compile error: > Cycle detected: the type Serializable cannot extend/implement itself or > one of its own member types > > > How can i solve this problem? > what will happend if we remove extends Serializable from signature of the > following methods in appfuse core module? > > public class GenericManagerImpl<T, PK extends Serializable> > public interface GenericDao <T, PK extends Serializable> > > when I remove "extends Serializable" problem solved, but I think there is > better way to do. > > thanks > > -- > Reza Farshi > -- Reza Farshi