[Soap-Python] Complexmodel documentation on wsdl
Jaakko Rytkönen
jaakko.rytkonen at gmail.com
Sat Dec 1 16:50:32 CET 2012
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/soap/attachments/20121201/ac9215c7/attachment.html>
More information about the Soap
mailing list