On Thu, 17 May 2012, Burak Arslan wrote:

On 05/17/12 21:12, Paul Harrington wrote:
So my question boils down to is there an easy way to get my Python SOAP server to omit the tns qualifier in the response.

you'd think microsoft would care enough to respect the protocol it created.... sigh.

please try this:

app = Application(...)
app.interface.nsmap[None] = app.interface.nsmap['tns']
app.interface.prefmap[app.interface.nsmap['tns']] = None
del app.interface.nsmap['tns']

does it work?

Yes! It does. Perfectly. That is pretty impressive.


best,
burak



Thanks very much!
pjjH

_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap

Reply via email to