Skip to content

Parsing of wsdl fails #47

Description

@vlinhart

Hello,
I'm trying to use this SOAP service:

http://destservices.touricoholidays.com/DestinationsService.svc?wsdl

the library fails like this:

from zeep import Client
client = Client('http://destservices.touricoholidays.com/DestinationsService.svc?wsdl')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/envs/roomstorm/local/lib/python2.7/site-packages/zeep/client.py", line 45, in __init__
    self.wsdl = Document(wsdl, self.transport)
  File "/envs/roomstorm/local/lib/python2.7/site-packages/zeep/wsdl/wsdl.py", line 59, in __init__
    root_definitions.resolve_imports()
  File "/envs/roomstorm/local/lib/python2.7/site-packages/zeep/wsdl/wsdl.py", line 185, in resolve_imports
    binding.resolve(self)
  File "/envs/roomstorm/local/lib/python2.7/site-packages/zeep/wsdl/definitions.py", line 187, in resolve
    operation.resolve(definitions)
  File "/envs/roomstorm/local/lib/python2.7/site-packages/zeep/wsdl/soap.py", line 325, in resolve
    self.input.resolve(definitions, self.abstract.input)
  File "/envs/roomstorm/local/lib/python2.7/site-packages/zeep/wsdl/messages.py", line 109, in resolve
    self._info['header'], definitions, parts)
  File "/envs/roomstorm/local/lib/python2.7/site-packages/zeep/wsdl/messages.py", line 128, in _resolve_header
    message = definitions.messages[message_name]
KeyError: u'{http://touricoholidays.com/WSDestinations/2008/08/Contracts}DestinationRequest_Headers'

Any ideas?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions