Exception while call SOAP method by ServiceProxy if there is keyword argument "name"
Bug #236697 reported by
Strashkin Pavel
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
zsi (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: python-zsi
>>lsb_release -rd
Description: Ubuntu 8.04
Release: 8.04
>>apt-cache policy python-zsi
2.0-2ubuntu4
If your SOAP service has method with one of argument called "name" you catch exception "TypeError: ... got multiple values for keyword argument 'name'" when call its. Its occurs because of the definition ServiceProxy._call has "name" argument.
You can got same exception as example:
def soap_method(name, *args, **kwargs):
pass
soap_method('some value', name='another value') # <-- exception here!!!
Patch attached.
To post a comment you must log in.