diff --git a/bin/mutalyzer-webservice.wsgi b/bin/mutalyzer-webservice.wsgi
index db30ae4966f9e24ee503c2126f0d032cf85e64af..e9e1a822a6f3b288b5462c47f4788a5aef9293a5 100755
--- a/bin/mutalyzer-webservice.wsgi
+++ b/bin/mutalyzer-webservice.wsgi
@@ -33,14 +33,15 @@ To start the built-in HTTP server on port 8081:
 
 import sys
 from wsgiref.simple_server import make_server
-from soaplib.core.server import wsgi
 from mutalyzer import webservice
 
 
 DEFAULT_PORT = 8081
 
 
-application = wsgi.Application(webservice.soap_application)
+# Unfortunately we cannot instantiate wsgi.Application here, see the note
+# near the bottom of mutalyzer/webservice.py.
+application = webservice.application
 
 
 if __name__ == '__main__':
diff --git a/mutalyzer/webservice.py b/mutalyzer/webservice.py
index c973eef3b1f9b50489f90db5e53d1fa7daabc879..2b58f062551b6f8eb8a72aaa62e3de53cd6682c0 100644
--- a/mutalyzer/webservice.py
+++ b/mutalyzer/webservice.py
@@ -847,3 +847,8 @@ class MutalyzerService(DefinitionBase):
 # WSGI application for use with e.g. Apache/mod_wsgi
 soap_application = Application([MutalyzerService], mutalyzer.SOAP_NAMESPACE,
                                'Mutalyzer')
+# Note: We would like to create the wsgi.Application instance only in the
+# bin/mutalyer-webservice.wsgi script, but unfortunately this breaks the
+# get_wsdl method of soap_application which we use to generate API
+# documentation in website.py.
+application = wsgi.Application(soap_application)