File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Services and the fly likes How to see List of Restful Services Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Web Services
Bookmark "How to see List of Restful Services " Watch "How to see List of Restful Services " New topic
Author

How to see List of Restful Services

Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
Hi,

Is it possible to see the list of available restful services just like its done for SOAP using url?wsdl

I am using tomcat and cxf with annotation.

-P


All desirable things in life are either illegal, banned, expensive or married to someone else !!!
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12753
    
    5
There has been an attempt to create a WADL for RESTful services, it does not appear to have taken off.

You are more likely to find a text description of services, sometimes with example code.

Bill
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
Thanks Bill, for your quick reply, we are not using WADL (either handwritten or generated) so want to know if CXF provides something out of the box?
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12753
    
    5
Sorry, my last contact with CXF was some time ago. It is my belief that even if you could produce WADL or similar automated documentation you would still have better success in reaching potential users/clients if you provide a text description and example code in some common languages.

Bill
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41017
    
  43
A quick googling indicates that CXF supports WADL for JAX-RS WS (it's not something you need to do - CXF does it for you). Is your WS written in JAX-RS?


Ping & DNS - my free Android networking tools app
Praful Thakare
Ranch Hand

Joined: Feb 10, 2001
Posts: 613
thanks Ulf, yes I am using javax.ws.rs, will check on how to get it running, thanks again.

-P
 
Consider Paul's rocket mass heater.
 
subject: How to see List of Restful Services
 
Similar Threads
JAX-WS or JAX-RS for RESTful??
Spring Restful web services compared Rest web service frameworks like Jersey,RestEasy,Restlet?
next thing to learn after Servlets/JSPs
Help needed on restful web services
RESTFull Vs SOSAP - using XSD