WSDL Generation appends duplicate properties from parent interface.
-------------------------------------------------------------------
Key: XFIRE-727
URL: http://jira.codehaus.org/browse/XFIRE-727
Project: XFire
Issue Type: Bug
Components: Generator
Affects Versions: 1.2.2
Environment: Spring 1.8.2, JBoss 4.0.3, Windows, JSRAnnotations
Reporter: Pascal Lalonde
Assigned To: Dan Diephouse
Attachments: FlightProduct.java, Product.java
After WSDL generation, some properties (from the parent interface) are
duplicated.
Interfaces has been put in attachments, here are some xml from the WSDL:
<xsd:complexType name="FlightProduct">
<xsd:sequence>
<xsd:element minOccurs="0" name="flightItineraries"
nillable="true" type="ns3:ArrayOfFlightItinerary"/>
<xsd:element minOccurs="0" name="productType" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="supplier" nillable="true"
type="ns8:Supplier"/>
<xsd:element minOccurs="0" name="vendor" nillable="true"
type="ns8:Vendor"/>
<xsd:element minOccurs="0" name="productType" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="supplier" nillable="true"
type="ns8:Supplier"/>
<xsd:element minOccurs="0" name="vendor" nillable="true"
type="ns8:Vendor"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Vendor">
<xsd:sequence>
<xsd:element minOccurs="0" name="flightTermsAndConditionsUrl"
nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="vacationTermsAndConditionsUrl"
nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="code" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="description" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="url" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="code" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="description" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="url" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Supplier">
<xsd:sequence>
<xsd:element minOccurs="0" name="code" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="description" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="url" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="code" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="description" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="url" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="Airline">
<xsd:sequence>
<xsd:element minOccurs="0" name="code" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="description" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="url" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="code" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="description" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true"
type="xsd:string"/>
<xsd:element minOccurs="0" name="url" nillable="true"
type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email