private static String getServiceIdFromRequest(final Service service) {
        if (service == null || StringUtils.isBlank(service.getId())) {
            return "UNKNOWN";
        }
        return FunctionUtils.doAndHandle(() -> new URI(service.getId()).getHost());
    }
Subclasses must implement this method by adding child elements (status, assertion, etc) to
the given empty SAML 1 response message.  Implementers need not be concerned with error handling.

@param response SAML 1 response message to be filled.
@param model    Spring MVC model map containing data needed to prepare response.
support/cas-server-support-saml/src/main/java/org/apereo/cas/support/saml/web/view/AbstractSaml10ResponseView.java