I am having XML as an input to my pipeline. I have to map the elements from the incoming request and form a new request. I am facing a casting exception stating “Failure: java.lang.String cannot be cast to java.util.Map, Reason: Snap failed unexpectedly and did not provide any reason”.
The catch is incoming XML is not able to recognize array.
Refer the screenshot.