| Author |
Consuming REST based web service
|
Kaarthik Vaidiswaran
Greenhorn
Joined: Nov 07, 2000
Posts: 10
|
|
I need help in consuming a REST based web service. I have to invoke the web service and authenticate it using Basic authentication.
The service returns results in form of JSON.
I found out that I can use Jersey API for consuming the service. I want to deserialize the JSON formatted string and create Java Beans/pojos. I do not know how to deserialize the JSON formatted strings.
I understand that JSON strings can be deserialized using other APIs like JSON-lib, XStream or from JavaScript, but I would like to know how to do this using Jersey. Do I need any JAR files from the web service provider? Presently, I know the url for invoking the service, I do not have any other JARs from the web service provider.
I use Eclipse 3.3 as IDE
Please give me some suggestion regarding the deserialization of JSON.
Thanks
Karthik
|
 |
 |
|
|
subject: Consuming REST based web service
|
|
|