aspose file tools
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 Barcodes with iOS this week in the iOS forum
or Core Java for the Impatient in the Java 8 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
Don't get me started about those stupid light bulbs.
subject: How to call this RESTful service?