Unclear if this is an issue in zeep, the wsdl, or a gap in my understanding #1448
Replies: 1 comment
-
Worked this out-- it seemed it wasn't that tags were being stripped rather than my rendering the XML adding an outer level node that I'd neglected, oops. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi all, forgive the vague example here as this is relating to work so I'm not comfortable copy pasting verbatim.
Given a method that accepts a complextype object, it seems like if I render the fully built object as XML via lxml.etree.tostring() then the XML reflects the structure of the data, e.g.,:
But if I submit an order via client.service.method() using the same object that yielded the above, and retrieve the SOAP envelope from
history.last_sent
and render it to XML also with lxml.etree.tostring() then what I see is this:That is, the
<ParentObject>
tag is stripped.I'm pretty new to SOAP so I don't understand if this is an intentional nuance or something's wrong.
Beta Was this translation helpful? Give feedback.
All reactions