Parsed xml documents lose xmlns data

As documented in B2B internal services, the standard xml parsing by webMethods lets dissaoear the xmlns declarations.
I would like to find a way to preserve that information somehow.
Has anybody an idea how this can be done?