Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to see List of Restful Services

 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13071
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Rancher
Posts: 42968
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
Praful Thakare
Ranch Hand
Posts: 642
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks Ulf, yes I am using javax.ws.rs, will check on how to get it running, thanks again.

-P
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic