Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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.

like image 759
Deepak Agarwal Avatar asked Jan 30 '14 16:01

Deepak Agarwal


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

like image 194
Emil Alkalay Avatar answered Sep 28 '22 07:09

Emil Alkalay