If you get the following error:
The Error Description is 'Invalid at the top level of the document.'.
Could not find prepared Statement with handle 0.
The statement has been terminated
Solution: Please check that you are not Passing Xml file path instead of passing XML string to the stored procedure