hecsa / pysimplesoap

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

wsdl parsing incomplete #139

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. using the attached wdsl calling method getItemsByCustomQuery complains about 
invalid args structure:

ValueError: Invalid Args Structure. Errors: [u'Argument key QueryDefinition not 
in parameter. parameter: {u\'Username\': <type \'str\'>, u\'Password\': <type 
\'str\'>, u\'ImpersonatedUser\': <type \'str\'>, u\'DateFormat\': <type 
\'str\'>,u\'DateTimeFormat\': <type \'str\'>, u\'InputField\': <type \'str\'>}, 
args: {\'Username\': \'user\', \'QueryDefinition\': \'query\', \'InputField\': 
\'ID\', \'Password\': \'pass\'}']

The parameter QueryDefinition doesn't seem to be recognized as part of the type 
CustomQuery.

Original issue reported on code.google.com by m...@olaf-janssen.com on 27 Feb 2014 at 4:49

Attachments:

GoogleCodeExporter commented 9 years ago
What method are you trying to use?
Could you provide a minimal test case?

Original comment by reingart@gmail.com on 27 Feb 2014 at 5:33

GoogleCodeExporter commented 9 years ago
from pysimplesoap.client import SoapClient
client = SoapClient 
(wsdl="http://de011542:7001/webservices/10/2/Integrity?wsdl")

response = client.getItemsByCustomQuery(arg0={'Username': 'user', 'Password' : 
'pass', 'InputField' : 'ID', 'QueryDefinition' : 'query'})

Original comment by m...@olaf-janssen.com on 28 Feb 2014 at 5:37

GoogleCodeExporter commented 9 years ago
This issue was closed by revision 40448ff53588.

Original comment by reingart@gmail.com on 2 May 2014 at 10:41