Hi Experts ,
My scenario is Soap to File ( Sync) . Sender legacy system is expecting the response message with prefix tns in below format .
<tns:Data xmlns:tns="com.cad.xyz">
<HUMLast>00393155961240131287</HUMLast>
</tns:Data>
PI is able to send the response message in below format
<ns1:HumLastRequest xmlns:ns1="urn :cad.xyz">
<HUMLast>00393155965135748871</HUMLast>
</ns1:HumLastRequest>
How to remove Prefix ns1 and add prefix tns to match the requirement .
Expected result :
---------------------
<tns:HumLastRequest xmlns:tns="urn :cad.xyz">
<HUMLast>00393155965135748871</HUMLast>
</tns:HumLastRequest>
Please share any code if anyone has already gone through such requirements .
Note : I cannot use XMLAnonymizerBean at SOAP Sender channel as its a Synchronous scenario and response message need to have Prefix tns .