SOAPpy.Types.faultType: Cannot use object of type stdClass as array
davea at davea.name
Sat Mar 23 14:51:33 CET 2013
On 03/23/2013 09:33 AM, Tamer Higazi wrote:
> Hi Chris!
> thanks.... But I am about of going nuts.... I did everything according
> their sample:
> and wanted to accomplish it in python!
Isn't there an API on Python SOAPpy published somewhere?
Wild guess, but perhaps the 1800 should have been '1800'
php blurs the distinction between numbers and strings, and maybe the
dict values are supposed to be all strings.
> If I pass a dict, I get the error telling me, this nonsense..... What
> should I do?!
> I even tried it in "suds" instead of soappy, and I am not getting further.
> Am 21.03.2013 17:21, schrieb Chris Angelico:
>> On Thu, Mar 21, 2013 at 6:06 AM, Tamer Higazi <th982a at googlemail.com> wrote:
>>> SOAPpy.Types.faultType: <Fault SOAP-ENV:Server: Cannot use object of
>>> type stdClass as array>
>> stdClass looks like a PHP error. Check out the server's requirements;
>> perhaps you need to provide something as a list that you're providing
>> as a dict, or something. I'd look at that loginData, for instance.
More information about the Python-list