You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by "gdilem@libero.it" <gd...@libero.it> on 2009/02/17 10:58:56 UTC
complextype duplicated in wsdl
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