Forum Discussion
nmrao
10 years agoCommunity Hero
Hmm., it may really depends on what data exactly you wanted to compare from jdbc response.
For example, you get AccountServices is a list. So you can get the AccountServices if ServiceCode is GTEL and get the same data from jdbc and then compare. Then loop thru the AccountServices, that should solve the issue unless you want to compare both of the entire xmls.
For example, you get AccountServices is a list. So you can get the AccountServices if ServiceCode is GTEL and get the same data from jdbc and then compare. Then loop thru the AccountServices, that should solve the issue unless you want to compare both of the entire xmls.
keanesean
10 years agoOccasional Contributor
Thanks for reply Rao, I want to check that the ServiceCode from XML response exists in the JDBC response, and that the ServiceStatus is the same for both.
Can you give me an example of what you mean when you say I should list them and loop through?