
So, the XML has to be changed to JSON manually. I have faced this issue recently, I have already suggested for a patch upgrade, but It was not a feasible solution, at that point of time. So, this blog is all about how to handle the issue, if you dont have the option for Enhanced Conversion in REST Adapter. “If an XML element was defined as an array, but only contains one item in converted XML payload, Jettison processor will likely convert it to a non-array type ”Īs, It has been handled by the Enhanced Version of the Rest Adapter, which has solved the above mentioned issue that we face.(After SP12)īut what if you don’t have the current patch available in your PI system, how will you handle it?.which will do our work.īut I have faced a problem which is well mentioned in Vadim Klimov blog-:

When you came across suggesting a solution for converting an Incoming XML to JSON, you would directly convert it using our standard REST Adapter.
