Dechenjm / pysimplesoap

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

Exception when parsing WSDL file #145

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Just call SoapClient(wsdl=urltowsdlfile) (the wsdl file is attached to this 
issue)
2. After connecting and starting the wsdl parsing process, a KeyError exception 
is raised:

>>> client = 
SoapClient(wsdl="http://172.16.2.73:8080/antorcha-collector/AntorchaWSBean?wsdl"
,trace=False)

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "C:\Python27\lib\site-packages\pysimplesoap\client.py", line 164, in __init__
    self.services = wsdl and self.wsdl_parse(wsdl, cache=cache)
  File "C:\Python27\lib\site-packages\pysimplesoap\client.py", line 728, in wsdl_parse
    op['input'] = get_message(messages, input_msg, op['parts'].get('input_body'), op['parameter_order'])
  File "C:\Python27\lib\site-packages\pysimplesoap\helpers.py", line 350, in get_message
    new_msg[message_name].update(part[message_name])
KeyError: 'AntorchaIntegrationService_addMultiBookmarks'

I'm using the current pysimplesoap revision of the HG repository (revision 
389), with Python 2.7 on Windows 2008.

Thanks in advance!

Original issue reported on code.google.com by ezequiel...@gmail.com on 4 Jun 2014 at 5:52

Attachments:

GoogleCodeExporter commented 9 years ago
I'm having the same error with python 2.7 on fedora 20.

Original comment by renato.p...@gmail.com on 4 Mar 2015 at 8:51