hecsa / pysimplesoap

Automatically exported from code.google.com/p/pysimplesoap
0 stars 0 forks source link

strange "Type mismatch" error #171

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. in WSDL file contain type RegisterLeadRequest with field:
<element name="IncomeType" type="xs:integer" minOccurs="1" maxOccurs="1" />
2. I send "{'IncomeType': long(3)}" by client.registerLead(**data)

What is the expected output? What do you see instead?
I got:
ValueError: Invalid Args Structure. Errors: [u"Type mismatch. parameter(<class 
'pysimplesoap.helpers.Alias'>): <alias 'integer' for '<type 'long'>'>, 
value(<type 'long'>): 3"]

What version of the product are you using? On what operating system?
PySimpleSOAP: 1.16
Python: 2.7.6
Description: Ubuntu 12.04.5 LTS

Original issue reported on code.google.com by vlopa...@altertech.com on 21 Jan 2015 at 9:50

Attachments: