#237 No Attribute generation for simpleContent extension

v2.0
open
nobody
zsi (169)
5
2008-04-04
2008-04-04
Joseph Bernhardt
No

When extending a string by adding an attribute with the following in the WSDL:

<xs:element name="Creator" minOccurs="0" maxOccurs="unbounded">
<xs:complexType>
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Role" type="xs:string" use="required"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
</xs:element>

The attribute doesnt appear to be generated as a type in the service with wsdl2py.

Discussion