Access the WSDL for a Moodle SOAP service

When you enable SOAP based web services through Moodle:

Site administration > Plugins > Web Services > Overview (follow the steps)

You can access the WSDL for the SOAP based service by passing the flag &wsdl=1 in your URL e.g.

http://yourmoodle.com/webservice/soap/server.php?wsdl=1&wstoken=tokenifrequired