Hello everyone, I try to define a type according to the wsdl following:
<s:complexType name="pointSet"> <s:sequence> <s:element maxOccurs="unbounded" minOccurs="0" name="pointSet" type="s0:pointSet"/> <s:element maxOccurs="unbounded" minOccurs="0" name="point" type="s0:point"/> </s:sequence> <s:attribute name="id" type="s:anyURI" use="required"/> </s:complexType> I write: class PointSet(ClassModel): __namespace__="http://gutp.jp/fiap/2009/11/" __type_name__="pointSet" pointSet = Array(PointSet) point = Array(Point) But error occurs: NameError: name 'PointSet' is not defined I think it is because PointSet has not finished DEFINITION, so you can't use it. Is it right? How can I fix it? Thank you very much Luke
_______________________________________________ Soap mailing list [email protected] http://mail.python.org/mailman/listinfo/soap
