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.
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/)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With