Hello all,

I am trying to use use spyne in my model but I am get failures when I used
one Array inside another Array. i.e

class Number(ComplexModel):

    number = Integer

class Address(ComplexModel):

   street_name = String
   number = Integer
   telephone = Array(Number)

class User(ComplexModel):

   name = String
   address = Array(Address)

When I use this model case I got something like:

TypeNotFound: Type not found: 'number'

And when I print client.factory.create('User'), the structure to telephone
is not created.

Am I doing something stupid? I found on history about ComplexModel usage
but not using many levels of Arrays

Best Regards,

-- 
Gabriel M. Monnerat
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to