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 EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to call this RESTful service?" Watch "How to call this RESTful service?" New topic
Author

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
Thanks
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: http://aspose.com/file-tools
 
subject: How to call this RESTful service?
 
Similar Threads
Getting com.sun.jersey.api.client.ClientHandlerException: java.net.ConnectException: Exception
what is the cms for jsp and servlet
definitions of Key terms in Oracle AS
Remote Freelance Work (10+ years of experience)