How to produce wsdl level documentation on compexmodel attributes?
Is there a way right now or how where should I look into in order to be
able to produce these?
class Order(ComplexModel):
__namespace__ = ""
__doc__ "Represents single Ordrer"
OrderId = Integer.customize(min_occurs=1, max_occurs=1, nillable=False,
doc="Individual order id")
TimeStamp = DateTime.customize(min_occurs=1, max_occurs=1,
nillable=False, doc="Order time and date")
.....
would produce:
<xs:complexType name="Passage">
<xs:annotation>
<xs:documentation xml:lang="en">Represents single Ordrer
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:sequence>
<xs:element name="OrderId" type="xs:integer" >
<xs:annotation>
<xs:documentation xml:lang="en">Individual order id
</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="TimeStamp" type="xs:dateTime" >
<xs:annotation>
<xs:documentation xml:lang="en">Order time and date
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap