If I understood well, it's the same problem I had here some time ago.
It took me quite some time to discover that I just needed to include the
following parameter when instantiating the Client object:
prettyxml=True
Hope this helps,
--
Renato
Hi,
I'm building a SOAP client, and I want to embed some XML data in the
soap message. The XML data is already in an external XML file. I used
the method introduced in the "Tips & Tricks / Including Literal XML"
section. The XML file is first parsed, and a suds.sax.element.Element is
obtained. Then the RPC is made with the Element as the argument.
However, the resulting SOAP message only contains the root node of the
XML. For example, if I use the "query" example in that section to
construct the XML data to be embedded, the only embedded data is an
empty <query/> tag. In the log information suds printed out, it did
contain all the data in the query tag.
Do you have any suggestions on where the problem might be?
Thanks,
Bin
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.