{"action":"created","issue":{"url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/138","repository_url":"https://api.github.com/repos/mvantellingen/python-zeep","labels_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/138/comments","events_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/138/events","html_url":"https://github.com/mvantellingen/python-zeep/issues/138","id":166531651,"number":138,"title":"Disable XML-verification","user":{"login":"Mad-Onion","id":5389669,"avatar_url":"https://avatars.githubusercontent.com/u/5389669?v=3","gravatar_id":"","url":"https://api.github.com/users/Mad-Onion","html_url":"https://github.com/Mad-Onion","followers_url":"https://api.github.com/users/Mad-Onion/followers","following_url":"https://api.github.com/users/Mad-Onion/following{/other_user}","gists_url":"https://api.github.com/users/Mad-Onion/gists{/gist_id}","starred_url":"https://api.github.com/users/Mad-Onion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mad-Onion/subscriptions","organizations_url":"https://api.github.com/users/Mad-Onion/orgs","repos_url":"https://api.github.com/users/Mad-Onion/repos","events_url":"https://api.github.com/users/Mad-Onion/events{/privacy}","received_events_url":"https://api.github.com/users/Mad-Onion/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/mvantellingen/python-zeep/labels/info-required","name":"info-required","color":"fbca04"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-07-20T08:55:21Z","updated_at":"2016-07-20T09:56:15Z","closed_at":null,"body":"Hi everyone,\r\nI'm trying to use zeep with a SOAP-webservice on our HP MSM WLAN-controllers by loading their provided wsdl-file.\r\nWhen calling the client-constructor, I get this error:\r\n```\r\nTraceback (most recent call last):                                                                                                                                                \r\n  File \"ap_monitor.py\", line 9, in <module>                                                                                                                                       \r\n    client = Client('https://172.16.96.5/soapapi.wsdl', transport = transport)                                                                                                    \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/client.py\", line 52, in __init__                                                                                              \r\n    self.wsdl = Document(wsdl, self.transport)                                                                                                                                    \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/wsdl/wsdl.py\", line 62, in __init__                                                                                           \r\n    root_definitions = Definition(self, document, self.location)                                                                                                                  \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/wsdl/wsdl.py\", line 155, in __init__                                                                                          \r\n    self.types = self.parse_types(doc)                                                                                                                                            \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/wsdl/wsdl.py\", line 304, in parse_types                                                                                       \r\n    self.wsdl._parser_context)                                                                                                                                                    \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/schema.py\", line 28, in __init__                                                                                          \r\n    node, transport, location, self._parser_context, location)                                                                                                                    \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/schema.py\", line 171, in __init__                                                                                         \r\n    visitor.visit_schema(node)                                                                                                                                                    \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 97, in visit_schema                                                                                     \r\n    self.process(node, parent=parent)                                                                                                                                             \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 49, in process                                                                                          \r\n    result = visit_func(self, node, parent)                                                                                                                                       \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 177, in visit_import                                                                                    \r\n    self.parser_context, base_url)                                                                                                                                                \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/schema.py\", line 171, in __init__                                                                                         \r\n    visitor.visit_schema(node)                                                                                                                                                    \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 97, in visit_schema                                                                                     \r\n    self.process(node, parent=parent)                                                                                                                                             \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 49, in process                                                                                          \r\n    result = visit_func(self, node, parent)                                                                                                                                       \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 439, in visit_complex_type                                                                              \r\n    element = self.process(child, node)                                                                                                                                           \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 49, in process                                                                                          \r\n    result = visit_func(self, node, parent)                                                                                                                                       \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 637, in visit_sequence                                                                                  \r\n    item = self.process(child, node)                                                                                                                                              \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 49, in process                                                                                          \r\n    result = visit_func(self, node, parent)                                                                                                                                       \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 263, in visit_element                                                                                   \r\n    xsd_type = self._get_type(node_type.text)                                                                                                                                     \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/visitor.py\", line 806, in _get_type                                                                                       \r\n    retval = self.schema.get_type(name, default=None)                                                                                                                             \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/schema.py\", line 226, in get_type                                                                                         \r\n    self._check_namespace_reference(name)                                                                                                                                         \r\n  File \"/usr/local/lib/python2.7/dist-packages/zeep/xsd/schema.py\", line 306, in _check_namespace_reference                                                                       \r\n    ) % (self._target_namespace, ns))                                                                                                                                             \r\nzeep.exceptions.XMLParseError: References from this schema ('http://www.procurve_mobility_msm.com/SOAP/API/1.0/') to components in the namespace 'http://www.procurve_mobility_msm\r\n.com/SOAP/API/1.7/' are not allowed, since not indicated by an import statement.\r\n```\r\n\r\nAs I have no influence on the wsdl-file, my question is, if it's possible to disable the XML-verification or if there is a workaround.\r\n\r\n\r\nBest regards\r\nTobias"},"comment":{"url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/comments/233905410","html_url":"https://github.com/mvantellingen/python-zeep/issues/138#issuecomment-233905410","issue_url":"https://api.github.com/repos/mvantellingen/python-zeep/issues/138","id":233905410,"user":{"login":"Mad-Onion","id":5389669,"avatar_url":"https://avatars.githubusercontent.com/u/5389669?v=3","gravatar_id":"","url":"https://api.github.com/users/Mad-Onion","html_url":"https://github.com/Mad-Onion","followers_url":"https://api.github.com/users/Mad-Onion/followers","following_url":"https://api.github.com/users/Mad-Onion/following{/other_user}","gists_url":"https://api.github.com/users/Mad-Onion/gists{/gist_id}","starred_url":"https://api.github.com/users/Mad-Onion/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Mad-Onion/subscriptions","organizations_url":"https://api.github.com/users/Mad-Onion/orgs","repos_url":"https://api.github.com/users/Mad-Onion/repos","events_url":"https://api.github.com/users/Mad-Onion/events{/privacy}","received_events_url":"https://api.github.com/users/Mad-Onion/received_events","type":"User","site_admin":false},"created_at":"2016-07-20T09:56:15Z","updated_at":"2016-07-20T09:56:15Z","body":"Sure, see the file attached.\r\n[MSM_soapapi.wsdl.txt](https://github.com/mvantellingen/python-zeep/files/373336/MSM_soapapi.wsdl.txt)\r\n\r\n\r\n"}}
{"actor":{"display_login":"Mad-Onion"}}