Hello Burak,
Le 23/06/2011 01:20, Burak Arslan a écrit :
> By the way, I made some more tests and discovered that I had simplified
> by test too much.
> It should be
> class Code(ClassModel):
> designations = Array(String, max_occurs=10)
> refs = Array(Integer)
>
> When there is no max_occurs paramter, the result is correct.
>
when you give the max_occurs=10 parameter to the array, you get an
array that can occur up to ten times, hence an array of arrays, hence
the output.
you probably want Array(String(max_occurs=10)) or just
String(max_occurs=10) if you don't want your array wrapped.
Thanks a lot.
I'm completely new to SOAP and I try to find my way by reading soaplib
sources and the few examples I can find.
hth
burak
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap