Rick Fiorentino wrote:
Going down the path of creating some web services. I am going with using
REST over SOAP. Where I am a bit lost is with regards to the WSDL. If I
understand correctly the WSDL will allow consumers of my web services
the ability to generate stubs in their code of choice. The XML will be
abstracted by APIs generated by the WSDL on the client end.
Using the RESTful approach how does one generate a WSDL for the client?
I believe SOAP takes all this into account. Am I missing the best way to
How does one publish the RESTful web service(s) if not by WSDL?
Posted via http://www.ruby-forum.com/.
Couple of things to keep in mind:
1. RESTful apps tend to follow conventions, making the need for method-
by-method specs obsolete. Rails implements its own flavor of REST
conventions, whereby if you know the resource (say, products), then
you already know the urls and HTTP verb combinations that are
2. WSDL helps generate client-side tools, but you still need human
documentation to understand what to do with it. RESTful services
should also provide human documentation so you know what urls and
verbs are supported.