Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
harish patarla
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 88
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic