Compare commits

..

3 Commits

Author SHA1 Message Date
f505059cce Merge hotfix/wsdl-namespace-wrapper into master 2026-05-19 14:16:29 +02:00
7ef25d4075 Bump version to 0.9.3 2026-05-19 14:16:23 +02:00
ef80aebb81 Fix WSDL parser: preserve wrapper elements and resolve per-schema namespaces
Two root-cause bugs in the SOAP body template generator:

1. _parse_sequence flattened complex child elements (params.extend) instead
   of emitting a proper wrapper node, causing <request> to be skipped and its
   fields inlined directly into the operation element.

2. _build_schema_maps discarded each <xs:schema targetNamespace>, so all
   elements were stamped with the WSDL target namespace instead of the
   namespace of the schema block they were actually defined in.

Fix: introduce _Param tree nodes that carry an explicit per-element namespace,
track targetNamespace per schema block in elem_map/type_map, keep complex
children as container _Param nodes, and render the tree with correct prefixes
(tns: for target namespace, well-known short prefixes for DataContract etc.).
2026-05-19 13:40:26 +02:00

1
.gitignore vendored
View File

@ -25,4 +25,3 @@ __pycache__/
# Flatpak
.flatpak/
repo/
*.local.json