luizhandrade / pysimplesoap

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

unable to parse WSDL #178

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Iam new so question might be stupid.

I knew that this wsdl is correct - is working with php but when i call 
client = 
SoapClient(wsdl='https://webapi.allegro.pl/uploader.php?wsdl',trace=True)

What steps will reproduce the problem?
DEBUG:pysimplesoap.helpers:Processing element WonItemStruct complexType
ERROR:pysimplesoap.helpers:Part  not found for doAddDescToItemsRequest
Traceback (most recent call last):
  File "D:\Mateusz\programowanie\python\test\main.py", line 6, in <module>
    client = SoapClient(wsdl='https://webapi.allegro.pl/uploader.php?wsdl',trace=True)
  File "C:\Python34\lib\site-packages\pysimplesoap\client.py", line 173, in __init__
    self.services = wsdl and self.wsdl_parse(wsdl, cache=cache)
  File "C:\Python34\lib\site-packages\pysimplesoap\client.py", line 836, in wsdl_parse
    services = self._xml_tree_to_services(wsdl, cache, force_download)
  File "C:\Python34\lib\site-packages\pysimplesoap\client.py", line 749, in _xml_tree_to_services
    op['output'] = get_message(messages, op['output_msg'], parts_output_body)
  File "C:\Python34\lib\site-packages\pysimplesoap\helpers.py", line 341, in get_message
    for part_name_key in parameter_order:
TypeError: 'NoneType' object is not iterable
What is the expected output? What do you see instead?
Pass

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

Original issue reported on code.google.com by Mateusz....@gmail.com on 14 Apr 2015 at 7:23