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 get the wadl(description of the restful service which i want to use) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Web Services
Bookmark "how to get the wadl(description of the restful service which i want to use)" Watch "how to get the wadl(description of the restful service which i want to use)" New topic
Author

how to get the wadl(description of the restful service which i want to use)

harish patarla
Greenhorn

Joined: Feb 11, 2013
Posts: 1
Hey, i am using some of the restful services in my web application where i am calling these services.
I am able to call and get proper response.

The issue is i have to write a .xsd which will describe the web service(similar to what we have in soap -i.e wsdl)

Can someone please tell me how i would describe it and how i can wrie my .xsd?

Thanks
Hikari Shidou
Ranch Hand

Joined: Jan 22, 2013
Posts: 88
Well with SOAP, at least Axis2, WSDL is built automatically and served to clients together with the WebService.

REST is just an architeture, so it doesn't define how to serve the WADL. If the tool you're using to create your REST WebService doesn't create the WADL for you as Axis2 does, you'll have to do it manually, or use another tool.

To serve it to clients, in Eclipse you could just add reference to it in web.xml together with some jsp that are created automatically.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: how to get the wadl(description of the restful service which i want to use)
 
Similar Threads
Restful web services in Java
How a client knows the classes used in RESTful web service server?
RestFul web services with Axis 2
question about REST
Restful Web Services in RAD