What is WSDL equivalent in restful WS . If nothing,how consumer generates required client side classes?
问题 Say ,i have producer in java and consumer in dot net. Producer has a method that takes Employee as method parameter and creates employee in db. For SOAP based ws, dot net client will hit WSDL and creates the stubs (including employee data representation in dot net). Now it can fill the object and send to producer. I am not sure how it will work in restful webservices as there is no WSDL. How rest consumer will get to know what are the operations exposed by producer without any WSDL contract