SOAPpy.Types.faultType: Cannot use object of type stdClass as array

Dave Angel davea at davea.name
Sat Mar 23 09:51:33 EDT 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:
>
> http://kasapi.kasserver.com/dokumentation/?open=soap
>
>
> 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.
>
>
>
>
> Tamer
>
>
> 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.
>>
>> ChrisA
>>
>


-- 
DaveA



More information about the Python-list mailing list