I need to access a thirdparty REST Webservice via my java class which gives the response in xml format.
How can i write a sample java class to consume this thirdparty REST service?
After googling for several days, I came to an observation that i can consume webservice using Jersey. But still am not sure how can i use Jersey in my scenario as I just need to read the response from a thirdyparty webservice. Please help.
EDIT: I tried using the website http://pojo.sodhanalibrary.com/ to convert the xml response obtained by the webservice to POJO classes. But still am not sure what exactly I need to do to proceed further.