|
From: Michael D. <mdi...@ne...> - 2013-08-05 03:33:30
|
I have a set of Python classes that I have generated for a SOAP service from a WSDL with ZSI. I have another Python module that calls the SOAP service using these generated classes. Unfortunately, the code keeps throwing an `EvaluateException` with the following error message when run:
maxOccurs unbounded, expecting a [<type 'tuple'>, <type 'list'>]
Unfortunately, I'm neither a SOAP expert nor a ZSI expert, and I can't even figure out what this error means. Does anyone know what problem it is trying to describe, and how I might go about solving (or at least debugging) it? The message doesn't make much sense to me.
---
The exact error message in the `EvaluateException` is
pyobj (`http://Think/XmlWebServices/`,customer_data), aname "_customer_address_data":
maxOccurs unbounded, expecting a [<type 'tuple'>, <type 'list'>]
[Element trace: /SOAP-ENV:Body/ns1:customer_add_request]
if that helps, although that error message contains some strings that are specific to the generated classes that I am debugging.
----
Michael Dippery
Senior Software Developer, NeonMob
www.neonmob.com | @michaeldippery |