Hi,
share your xml structure if possible.
Regards,
Samir
Hi,
If Array Type is not maintained in Custom XML/JSON Conversion Rules and the XML element only occurs once, the XML element will be converted into a non-array-type. If Array Type is maintained in Custom XML/JSON Conversion Rules, the XML element should always result in a JSON array type even if the element occurs only once. If the XML element occurs more than once, it should result in a JSON array type. For more explanation, you can refer to:
SAP KBA 2743939 - XML Payload to JSON Conversion in REST receiver adapter
REST Adapter in PI/PO: Enhanced XML/JSON Conversion
Best regards,
Tina
Hi,
If xml is well formatted then try converting it to Json with any third party tool.
Uncheck convert xml payload to json option in receiver channel or if synchronous scenario then in sender channel and deploy Custom_AF_Modules/FormatConversionBean module and check jsoncontent.
Regards,
Samir
Add comment