Dear All.
my scenario is SOAP to SFTP (Asyn), payload having ns1 prefix in namespace, so i used XMLAnonymizerBean to remove ns1 and i can see ns1 also removed from the payload.
but issue is when i use XMLAnonymizerBean all the attribute in the payload enclosed with single quote ( ' ), if i remove the XMLAnonymizerBean i'm getting double quote ( " ).
i'm looking double quotes ( " ) to enclose all the attribute.
with out XMLAnonymizerBean
<?xml version="1.0" encoding="UTF-8"?>
<ns1:Acknowledgement xmlns:ns1="http://namspace" MessageId="636PAOPAYREQACK27072016166" PaymentProduct="PAO">
</ns1:Acknowledgement>
with XMLAnonymizerBean
<?xml version='1.0' encoding='utf-8'?>
<Acknowledgement xmlns='http://namspace' MessageId='636PAOPAYREQACK27072016166' PaymentProduct="PAO">
<Acknowledgement>
Expectation:
<?xml version="1.0" encoding="UTF-8"?>
<Acknowledgement xmlns="http://namspace" MessageId="636PAOPAYREQACK27072016166" PaymentProduct="PAO">
<Acknowledgement>
if i use anonymizer.encoding parameter and the parameter value text/xml;charset=utf-8 by the time ns1 is not removing and getting " .
please suggest how can i get my expectation.
Regards
Ramesh