Hi,
the patch works fine with list of complex types. I have recently found out that if the complex type is not a list, the WSDL functionResponse is wrong. Example :
class example(LadonType): strings = [str] floats = [float]
class webservice(object):
@ladonize([str], rtype=example) def function(self, input): return input
WSDL : Arrayofstr not right
<element name="functionResponse"> <complexType> <sequence> <element xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays" minOccurs="0" name="strings" nillable="true" type="tns:ArrayOfstr"/> </sequence> </complexType> </element>
If we define the Class Example
class strfloat(LadonType): string = str float = float
class example(LadonType): list = [strfloat]
It works fine and the WDSL document is correct.
Could you look over it again? Thanks!
Best regards Michael
Hi,
the patch works fine with list of complex types. I have recently found out that if the complex type is not a list, the WSDL functionResponse is wrong. Example :
class example(LadonType):
strings = [str]
floats = [float]
class webservice(object):
@ladonize( [str], rtype=example)
def function(self, input):
return input
WSDL : Arrayofstr not right
<element name="functionR esponse" > schemas. microsoft. com/2003/ 10/Serializatio n/Arrays" minOccurs="0" name="strings" nillable="true" type="tns: ArrayOfstr" />
<complexType>
<sequence>
<element xmlns:q1="http://
</sequence>
</complexType>
</element>
If we define the Class Example
class strfloat( LadonType) :
string = str
float = float
class example(LadonType):
list = [strfloat]
It works fine and the WDSL document is correct.
Could you look over it again? Thanks!
Best regards
Michael