Hanno Stock avatar Hanno Stock committed b770b80

added patch description

Comments (0)

Files changed (1)

copy-element-header.patch

+If user specifies soapheaders of type suds.sax.element.Element
+make a deepcopy of the Element.
+
+This fixes the case when the Element contains a namespace declaration
+that is not part of the WSDL. When no deepcopy is used, the namespace
+declaration gets "pushed up" to the parent and is deleted from the
+Element.
+Subsequent calls will therefore raise an exception because of an
+undefined prefix.
+
 diff --git a/suds/bindings/binding.py b/suds/bindings/binding.py
 --- a/suds/bindings/binding.py
 +++ b/suds/bindings/binding.py
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.