Dechenjm / pysimplesoap

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

keyerror in helpers.py #128

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
1.
mycode:

client = SoapClient(
        wsdl = "https://apiapac.lumesse-talenthub.com/HRIS/SOAP/Candidate?WSDL",
        location = "https://apiapac.lumesse-talenthub.com/HRIS/SOAP/Candidate?api_key=azhmc6m8sq2gf2jqwywa37g4",
        ns = True
        )

2.invoke any method
3.output:
ceback (most recent call last):
      File "lumesse_create.py", line 7, in <module>
          ns = True
        File "/usr/lib/python2.7/site-packages/pysimplesoap/client.py", line 133, in __init__
          self.services = wsdl and self.wsdl_parse(wsdl, cache=cache)
        File "/usr/lib/python2.7/site-packages/pysimplesoap/client.py", line 559, in wsdl_parse
          postprocess_element(elements)
        File "/usr/lib/python2.7/site-packages/pysimplesoap/helpers.py", line 194, in postprocess_element
          elements[k].insert(kk, v[None][kk], i)
      KeyError: u'candidateId'

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by wancheng...@gmail.com on 16 Dec 2013 at 8:55

GoogleCodeExporter commented 9 years ago
What method are you invoking? 
What parameters are you using?
What is the expected result?
Could you please provide a test case?
(i.e. attachment with a minimal fragment to reproduce the issue)

Original comment by reingart@gmail.com on 20 Dec 2013 at 7:42

GoogleCodeExporter commented 9 years ago
This seems to fixed in recent version (revision 8fc755ddc20a)
Please test it (the latest sources 1.12 from the repository) and let us know if 
you get new issues

Original comment by reingart@gmail.com on 22 Jan 2014 at 1:28