On 02/16/13 05:51, [email protected] wrote:

Does anyone have an example of creating and Iterable, or Array as part of the response where the name is changed to something else?


Hi Nathan,

Normally, Array(String, type_name='ArrayOfString') should work, but it doesn't. I've fixed this in the trunk and the fix will ship in 2.10.0.

As a workaround, you can do this:

ArrayOfTicketList = Array(TicketList)
ArrayOfTicketList.__type_name__ = 'ArrayOfTicketList'

... and use ArrayOfTicketList in class and function definitions instead.

Does that help?

Best regards,
Burak


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

Reply via email to