Setting namespace using SOAPpy

Nello Polesello polesello at occupato.it
Wed Dec 1 14:21:15 CET 2004


I'm trying to use a Web Service written in C# from Python (using SOAPpy),
and I don't know how to set namespace.
I'd like to add the attribute xmlns="http://www.uniud.it/email/" in the tag
<SOAP-ENV:Envelope ....> or in my method tag <TestParameter ....>.

I don't want the syntax <ns1:TestParameter
xmlns:ns1="http://servizi.amm.uniud.it/email/"> used by SOAPpy because it
does not work with the Web Service I want to use.
Is there any method (perhaps in the SOAPpy.Config) that I can use?

Thank you in advance.

-- 
Nello Polesello





More information about the Python-list mailing list