Hi Bruce,
Thanks for your reply. I tried this way but due to some reason when I tried to create a datawindow using the SP as data source it was not listing any SPs in the list (it was showing an empty 'Select Stored Procedure' screen). Then I tried to create the normal SQL Select datawindow from the following select statement
SELECT file_name, file_data FROM TABLE (<package_name>.getFileItems(<a_message>))
It worked and I got the file name value and the clob value (XML) in the datawindow.
Extremely thankful for the above idea from which I could derive this logic...:)
Thanks,
Anoop