The following image shows the web services framework in a runtime application.
You can call the Application::isWebService method to determine whether a runtime application is a web service application.