How to check if a web-service is REST or SOAP?
Could anyone please let me know how we can check if a particular web-service is REST or SOAP?
I understand that the main difference is the wsdl file, however, even for WCF REST service with webHttpBinding, one has a wsdl file which is generated.
I want to know the best possible ways to identify for a given service, check if it is a REST or SOAP.
Check for WSDL definition. If exists the web service is SOAP. By convention the WSDL file is located on following URL: [webservice_url]?wsdl
P.S. This check will work in most cases, but not all cases. REST web services sometimes are described with WADL (https://www.w3.org/Submission/wadl/)