Skip to Content
0
Sep 13, 2015 at 02:01 PM

Need to add namespace to the source structure using Anonymizer Bean

526 Views

Hi Experts,

Please help me in achieving below issue

In source message we don't have the xml namespace, ns tag, and encoding we need to insert those by using the Anonymizer Bean

Source file

Source Message:

<FL_R_IN_IFD>

<MsgData>

<R_HEADER>

<R_DETAIL>

</R_DETAIL>

</R_HEADER>

</MsgData>

</FL_RA_IN_IFD>

Expected:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:FL_R_IN_IFD xmlns:ns0="http://Test/Test/Test/ECC">

<MsgData>

<R_HEADER>

<R_DETAIL>

</R_DETAIL>

</R_HEADER>

</MsgData>

</ns0:FL_R_IN_IFD>

Please help me

Thanks,

MR