diff options
author | jortel <devnull@localhost> | 2009-01-13 21:21:27 +0000 |
---|---|---|
committer | jortel <devnull@localhost> | 2009-01-13 21:21:27 +0000 |
commit | 9bfd3bd2308962c73a1280be14aded40845ba40c (patch) | |
tree | 103e82331e025bd2b47130879f893af63064e0ae /suds/bindings | |
parent | 8aea3af64784be27a4d8bd6ba666c834223c4ff0 (diff) | |
download | suds-9bfd3bd2308962c73a1280be14aded40845ba40c.tar.gz |
Fix multidocument document/literal to uses element names instead of part names; Fix xs:import with relative url for imports of schema from imported wsdls.
Diffstat (limited to 'suds/bindings')
-rw-r--r-- | suds/bindings/binding.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/suds/bindings/binding.py b/suds/bindings/binding.py index 6dc657e..6f34015 100644 --- a/suds/bindings/binding.py +++ b/suds/bindings/binding.py @@ -365,7 +365,10 @@ class Binding: if p.type is not None: pt = PartElement(p.name, body.namespace, pt) if input: - result.append((p.name, pt)) + if pt.name is None: + result.append((p.name, pt)) + else: + result.append((pt.name, pt)) else: result.append(pt) return result |