I've reverted my former patch.
you have to rewrite the complete xml tree like most servers do on s2s and component links.
Or use string functions to build the body instead of a xml dom, this is easier in most cases and performs better.
Committed a patch (revision 11636 and 11637) which uses string manipulation in order to perform the namespace rewriting.
Guus, please review this patch.
Guenther Niess: it is resolved or not?