Activity › Forums › Salesforce® Discussions › Distinguish between REST Class And SOAP Class in Salesforce › Reply To: Distinguish between REST Class And SOAP Class in Salesforce
MemberJanuary 16, 2018 at 6:57 am
You can identify your web service class them by viewing the code. If the class has annotation '@RestResource' then it's REST-based and if it has 'webservice' member variables and a 'webservice' method then it's SOAP-based class.
Hope this helps.