summaryrefslogtreecommitdiff
path: root/suds/bindings/binding.py
diff options
context:
space:
mode:
authorjortel <devnull@localhost>2009-01-13 21:21:27 +0000
committerjortel <devnull@localhost>2009-01-13 21:21:27 +0000
commit9bfd3bd2308962c73a1280be14aded40845ba40c (patch)
tree103e82331e025bd2b47130879f893af63064e0ae /suds/bindings/binding.py
parent8aea3af64784be27a4d8bd6ba666c834223c4ff0 (diff)
downloadsuds-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/binding.py')
-rw-r--r--suds/bindings/binding.py5
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