The blog posting found here has a solution for this. All credits to the post creator.
In BPEL the "ora:getContentAsString function cane be used. In OSB the XQuery function "strip-namespace" needs to be used.
Focus on emerging technologies within the Oracle Universe including Oracle Fusion Middleware, Oracle Fusion Applications and Oracle AIA