AnsweredAssumed Answered

How map CDATA format xml in a single xml field?

Question asked by tarun.singh178127 on Jul 18, 2018
Latest reply on Jul 18, 2018 by dcollins724067

How to map below data to a single field in xml mapping 

 

<![CDATA[<V_SS_CASE>
<V_SS_CASE>
<PK_ID>00000000000000003</PK_ID>
<RECORD_NUMBER>CASE-0001</RECORD_NUMBER>
<V_SS_CASE-V_SE_ORDER_FULFILLMENT>
<PK_ID>0000000000000002</PK_ID>
<PARENT_GT_ID>000000000000000</PARENT_GT_ID>
<C_TASK_ID>000000000000000</C_TASK_ID>
<LOT_NUMBER_RECVD>aaaa</LOT_NUMBER_RECVD>
<SERIAL_NO_RECVD>aaa</SERIAL_NO_RECVD>
<SHIP_TRACKING_NO>aaaa</SHIP_TRACKING_NO>
</V_SS_CASE-V_SE_ORDER_FULFILLMENT>
</V_SS_CASE>
</V_SS_CASE>]]>

 

Required below format after mapping

<RequestXml><![CDATA[<V_SS_CASE>
<V_SS_CASE>
<PK_ID>00000000000000003</PK_ID>
<RECORD_NUMBER>CASE-0001</RECORD_NUMBER>
<V_SS_CASE-V_SE_ORDER_FULFILLMENT>
<PK_ID>0000000000000002</PK_ID>
<PARENT_GT_ID>000000000000000</PARENT_GT_ID>
<C_TASK_ID>000000000000000</C_TASK_ID>
<LOT_NUMBER_RECVD>aaaa</LOT_NUMBER_RECVD>
<SERIAL_NO_RECVD>aaa</SERIAL_NO_RECVD>
<SHIP_TRACKING_NO>aaaa</SHIP_TRACKING_NO>
</V_SS_CASE-V_SE_ORDER_FULFILLMENT>
</V_SS_CASE>
</V_SS_CASE>]]></RequestXml>

Outcomes