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.

Thanks.

Answers


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/)


Need Your Help

How to generate DigestValue and SignatureValue for enveloped XML Signature using PHP/linux tool

php wsdl sha1 xml-signature xmlsec

i have been trying to find some examples on how to generate DigestValue and SignatureValue for XML signature (WSDL).

Share data between services

c# wcf

I need to break up my duplex service and would like to encapsulate the large transfers into one service and retrieve from other(s). I used to have it all in one service but now need to switch from