What is the point of a WSDL with a holiday service?

If REST-based web services are as simple as getting and posting for a url and parsing a wht response, do we need wsdl? What's the point. I understand that when using SOAP services it is used to create SOAP requests and responses, but it does not understand why Visual Studio provides me with wsdl when creating a REST-based service ...

+5
source share
3 answers

In WSDL, it makes no sense to use REST services created using WCF, because WCF only supports WSDL 1.1 (or 1.0), which cannot describe the REST seevice. If you try to use the WSDL generated for the WCF REST service to create a client proxy, you cannot call the service anyway. Visual Studio templates for REST do not provide metadata, so you will get useless WSDL only if you add the Metada service behavior (and possibly also mex endpoint).

WSDL 2.0 and WADL support the description of REST services, and the dot is similar to SOAP services. Describe what you can do with the service, but using the REST method.

+4
source

WSDL , , . REST , , , .

REST , WSDL.

+6

. WSDL - , , . WSDL, - , , , .

+2

All Articles