Is it possible to expose a single method in salesforce and make it available via soap and rest? I am looking at the docs and seems like you can't. For example on this page: https://developer.salesforce.com/page/Creating_REST_APIs_using_Apex_REST
would i be able to do this? I am currently testing this out in dev org but wanted to see if anyone knew right away
@HttpGet
webService static List<Case> getOpenCases() {
// some logic
return cases;
}