private static String getRequestIdFromRequest(final Element requestChild) {
        if (requestChild == null) {
            LOGGER.trace("Element responsible for RequestID is undefined");
            return null;
        }
        val requestIdAttribute = requestChild.getAttribute("RequestID");
        if (requestIdAttribute == null) {
            LOGGER.trace("XML element has no attribute for RequestID");
            return null;
        }
        return requestIdAttribute.getValue().trim();
    }
Gets the request body from the request.

@param request the request
@return the request body
support/cas-server-support-saml-core-api/src/main/java/org/apereo/cas/support/saml/authentication/principal/SamlServiceFactory.java