• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

Posts: 5
  • 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?

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.
Be reasonable. You can't destroy everything. Where would you sit? How would you read a tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic