When Does the Server Use an Output Template?
The server applies output templates to the results of services that are invoked by HTTP, FTP, or SMTP clients (i.e., requests that come through the HTTP, HTTPS, FTP, or SMTP listeners). You can also arbitrarily apply output templates to the pipeline using the built-in services in the pub.report folder.