Skip to Content
0
May 21, 2012 at 02:51 AM

How to clean out namespace element in message mapping

298 Views

Hi All,

I have a requirement where my input message should be mapped to one field in the target structure and the condition here is the namespace element should not be used.

So my first part in the requirement can be achieved by using "return as xml" in the context change. But i am stuck in my second step where i need to remove the namespace.

The output from the source node will be in the xml string and i have tried with replacestring text function but it is throwing error.

Can you please suggest if i can achieve this through standard functions/UDF in the message mapping or i should only go by java mapping?

Thanks,

Prasanthi