+ Start a Discussion
Ken KoellnerKen Koellner 

Is there a way to generate WADL from an Apex REST Service?

I have some rest service written in custom Apex.  Anyone know if there's a way to generate a WADL file from them?
NagendraNagendra (Salesforce Developers) 
Hi ken,

There's no WADL that I'm aware of, but most of the APIs are pretty well documented (Such as the metadata API, the tooling API, etc etc.).

The closest you're going to get is workbench (https://workbench.developerforce.com/login.php).  Use workbench to OAuth into your org, and then use the REST explorer to explore the various REST APIs available in Salesforce.

Ken KoellnerKen Koellner
Not asking about the built-in REST APIs.  I'm asking about API that we develop in custom Apex.
Hi Ken Koellner,
        If we use webservice modifier in front of method,We will be able to generate Wsdl file.
global with sharing class RESTCaseController {

  webservice static List<Case> getOpenCases() {
      return null;  
Once you save this class,you can see generate wsdl button to generate wsdl file