-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
🐛 [#4338] Fix SOAP 1.2 namespace replacement
Not the scattering of namespaces is an issue, but our mapping of namespace replacements. We replace the namespaces to get easier dict lookups (without ns URLs prefixed to keys), but we only covered the SOAP 1.1 Envelope namespace. The XML message that causes issues uses the XML namespace for SOAP 1.2 Envelope, and since that namespace was not being replaced/removed, the root 'Envelope' key in the dict does not exist (it only exists with the namespace prefix URL), causing all nested lookups to fail and no values to be returend. This patch adds the SOAP 1.2 namespace, which ensures this gets replaced and now the root key can be found, including all nested keys and data. Backport-of: #4388
- Loading branch information
1 parent
a17a75b
commit db429ac
Showing
2 changed files
with
60 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters