File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Web Services and the fly likes How to call this RESTful service? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to call this RESTful service?" Watch "How to call this RESTful service?" New topic

How to call this RESTful service?

emma smith
Ranch Hand

Joined: Nov 29, 2012
Posts: 48
Hi friends,
i'm really new to RESTful services i want to call this service from my cms, my cms is in java, i have tried to write a code for calling it but i did n't succeed can you show me a simple code for this
Santhosh ayiappan
Ranch Hand

Joined: Jan 30, 2007
Posts: 80

There are many ways to consume a rest service. You can use HttpURLConnection or you can use the Jersey api to consume the service.

One such example can be found in the below link.

Code to consume Rest Service
I agree. Here's the link:
subject: How to call this RESTful service?