I'm far from a SOAP/XML expert, or even close to be one. However, I have some common sense. I am integrating towards a SOAP service, wsdl located here: https://www1.uc.se/UCSoapWeb/services/ucOrders2?wsdl
I'm doing this all in Python, and using the jurko suds fork. When creating the calls they fail. This tag was the problematic tag. Suds generated this:
<ns1:template id="KH9"/>
But to get it to work I had to user a MessagePlugin plugin that I wrote my self to marshall the XML before sending to the endpoint. This is what it required:
<ns1:template ns1:id="KH9"/>
First, shouldn't I trust suds? And I do... Second. Why do I need to define the namespace for the attribute in ns:template tag, isn't the namespace inherited from the tag namespace?
This answer supports me, but doesn't include the attribute example I'm looking at: https://stackoverflow.com/a/2193381/788022
Am I wrong? Is suds wrong? Or is the SOAP service that I'm integrating towards wrong? Or are we all wrong? :)