[issue8792] Support Apache extensions to XML-RPC in xmlrpclib

Adam Bielański report at bugs.python.org
Tue Nov 16 14:44:19 CET 2010


Adam Bielański <abgans at gmail.com> added the comment:

To make example provided by Amaury complete I'll add that in order to support both ways you also need to replace xmlrpclib.dumps() with code from attached file.

Changes to original xmlrpclib.dumps() function are outlined with comments. In short - it adds namespace declarations to methodCall and methodResponse elements and also makes Marshaller produce <ex:nil/> instead of <nil/>

----------
Added file: http://bugs.python.org/file19619/dumps_with_namespace.py

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8792>
_______________________________________


More information about the Python-bugs-list mailing list