How can i force a root element in XML output of JSONToXML even when my input JSON has only one element?
When there is just one element, then there is no way to do what you are describing, using only the JSONToXML policy. YOU CAN do what you want with an additional policy.
EITHER
When there is just one element, then there is no way to do what you are describing, using only the JSONToXML policy. YOU CAN do what you want with an additional policy.
EITHER