Monday, December 1, 2008

Removing namespace from XML payload

Namespace errors sometimes tend to take an immense amount of time to solve. Extracting content from the payload without the namespace dependencies can be useful for troubleshooting.

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.