{"action":"created","issue":{"url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/184","repository_url":"https://api.github.com/repos/mvantellingen/python-zeep","labels_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/184/labels{/name}","comments_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/184/comments","events_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/184/events","html_url":"https://github.com/mvantellingen/python-zeep/issues/184","id":176311920,"number":184,"title":"LookupError: No type 'xxx' in namespace","user":{"login":"SlippingAway","id":124494,"avatar_url":"https://avatars.githubusercontent.com/u/124494?v=3","gravatar_id":"","url":"https://api.github.com/users/SlippingAway","html_url":"https://github.com/SlippingAway","followers_url":"https://api.github.com/users/SlippingAway/followers","following_url":"https://api.github.com/users/SlippingAway/following{/other_user}","gists_url":"https://api.github.com/users/SlippingAway/gists{/gist_id}","starred_url":"https://api.github.com/users/SlippingAway/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SlippingAway/subscriptions","organizations_url":"https://api.github.com/users/SlippingAway/orgs","repos_url":"https://api.github.com/users/SlippingAway/repos","events_url":"https://api.github.com/users/SlippingAway/events{/privacy}","received_events_url":"https://api.github.com/users/SlippingAway/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-12T07:38:49Z","updated_at":"2016-09-12T08:26:33Z","closed_at":null,"body":"Using python-zeep 0.16. I am getting the error `LookupError: No type 'CountryItemType' in namespace http://schemas.xmlsoap.org/soap/encoding/`.\r\n\r\nThis is what I am doing (link to the WSDL in the code below):\r\n\r\n```python\r\nfrom zeep import Client\r\nfrom from zeep.transports import Transport\r\ntransport = Transport(http_auth=('***', '***'))\r\nclient = Client('http://www.visahq.com/wsdl.wsdl', transport=transport)\r\n# Failing operation\r\nclient.service.doGetCountries()\r\n```\r\n\r\nIf I check with `client.wsdl.dump()`, I can see this global type:\r\n`     ns0:CountryItemType(code: xsd:CountryCodeType, name: xsd:string)`\r\n\r\nThe failing operation is also defined there:\r\n`            doGetCountries() -> _value_1: CountryItemType[], arrayType: psd:string`\r\n\r\nI verified at least one operation that is working, so it's not in the service itself. I tried also the master branch, but got the same results. Let me know if you need more information."},"comment":{"url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/comments/246280841","html_url":"https://github.com/mvantellingen/python-zeep/issues/184#issuecomment-246280841","issue_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/184","id":246280841,"user":{"login":"mvantellingen","id":245297,"avatar_url":"https://avatars.githubusercontent.com/u/245297?v=3","gravatar_id":"","url":"https://api.github.com/users/mvantellingen","html_url":"https://github.com/mvantellingen","followers_url":"https://api.github.com/users/mvantellingen/followers","following_url":"https://api.github.com/users/mvantellingen/following{/other_user}","gists_url":"https://api.github.com/users/mvantellingen/gists{/gist_id}","starred_url":"https://api.github.com/users/mvantellingen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvantellingen/subscriptions","organizations_url":"https://api.github.com/users/mvantellingen/orgs","repos_url":"https://api.github.com/users/mvantellingen/repos","events_url":"https://api.github.com/users/mvantellingen/events{/privacy}","received_events_url":"https://api.github.com/users/mvantellingen/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T08:26:33Z","updated_at":"2016-09-12T08:26:33Z","body":"It seems the request can be generated but the error occurs when processing the response. Do you have the response XML for me? Thanks :-)\r\n"}}
{"actor":{"display_login":"mvantellingen"}}