Skip to Content
0
Mar 11, 2020 at 07:12 AM

XML declaration not coming in output using REST adapter

193 Views

Hi Experts,

I have Rest to proxy sync scenario, issue i am facing is when PO sends back a response to 3rd party or even when I test it using SOAP UI, the default XML declaration is not going out, which is causing issues as a response is failing on 3rd party as they expect XML declaration which is "<?xml version="1.0" encoding="utf-8"?>".

i have even used XSLT mapping which i can confirm is working as I can see changes in reflected in message monitor payloads, even in payload i can see XML declaration exists but when a message gets delivered to 3rd party/SOAP UI it gets truncated automatically.

Can you please help and let me know if some setting needs to be done on PO server, we are on PO 7.5. I even checked other system all are having the same behavior.

My output is :

<ServiceResponse>

<Record/>

</ServiceResponse>

Expected output is:

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

<ServiceResponse>

<Record/>

</ServiceResponse>