I am new to Rest web service and while learning it a question strikes me, In SOAP based web service, WSDL is act as a contract between client and service provider, so, Client will know how to interact with service provider by reading the WSDL file and create a client which is highly capable of interacting with service provider. To my understanding, in Rest web service we don't have WSDL so how a client will generate its stub automatically?
Asked
Active
Viewed 388 times
1
-
See this: http://stackoverflow.com/questions/27327018/creating-a-wadl-and-wsdl-in-java/ and this: http://stackoverflow.com/questions/452750/why-the-slow-wadl-uptake – Bogdan May 09 '15 at 19:17
1 Answers
1
In REST, clients are not generated automatically, in general. There is something called WADL, which is sort of "WSDL for REST", but it's not a standard yet and may never become a standard. But in general, all REST clients need to be created without the use of metadata from the service.

John Saunders
- 160,644
- 26
- 247
- 397