I want to compare the all service response data elements with my ODBC query results. I have around 500 data elements in the response.
Have you thought about creating a step after the JDBC query that uses a template of the web service response, and replaces every piece of data with the properties in the recordset returned by your JDBC query? This would probably be an Output Log step. Then you can use the XML Side-by-side Comparison assertion to compare the data-filled template with the web service response.
Retrieving data ...