This is "normal". The best option is to put the PrizeType in a specific namespace for all the services. Thus, when it's code generated, it would always be generated into the same place thus they all "share" it.
Dan On Wed February 18 2009 6:32:32 am gionnyDeep wrote: > Hi all > I'm newbie using cxf and webservices. > So I apologize if I use not right terms. > I defined my webservices using annotations. > I created also interfaces used by my webservice. > When I create my war and I see in my browser, all wsdls show me complextype > as follow > ... > <xsd:complexType name="PrizeType"> > <xsd:sequence> > <xsd:element minOccurs="0" name="prizeTypeDesc" nillable="true" > type="xsd:string"/> > <xsd:element minOccurs="0" name="prizeTypeId" nillable="true" > type="xsd:int"/> > <xsd:element minOccurs="0" name="prizeTypeName" nillable="true" > type="xsd:string"/> > </xsd:sequence> > </xsd:complexType> > .... > The problem is that the complextype PrizeType appears in all wsdl of all > webservices.So when i generate the stubs I have redundant stubs created! > Any idea? > sorry for my english > Giovanni -- Daniel Kulp [email protected] http://www.dankulp.com/blog
