[Soap-Python] rpclib and Microsoft Office Research Service
Paul Harrington
phrrngtn at panix.com
Thu May 17 21:20:59 CEST 2012
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
More information about the Soap
mailing list