[Soap-Python] Spyne: problems getting complex nested return value definition right

Burak Arslan burak.arslan at arskom.com.tr
Fri Jul 13 14:34:34 CEST 2012


On 07/13/12 15:27, Jussi Rasinmäki wrote:
> But how do I add the InvalidValue-objects to Array(InvalidValue)
> object?


see the update.

You should not confuse declarative type markers with class instances. 
Array(InvalidValue) is just a convenient way of letting spyne know that 
a regular list of InvalidValue instances are to be serialized as wrapped 
arrays.

Does it help?

Best,
Burak



More information about the Soap mailing list