def METHOD_NAME(self, url=None):
    """Load IdP metadata in an XML format from the specified url.
    :param url: URL of a metadata service
    :type url: Optional[string]
    :return: XML string containing InCommon Metadata
    :rtype: string
    :raise: MetadataLoadError
    """
    self._logger.info("Started loading IdP XML metadata from {0}".format(url))
    try:
        xml_metadata = OneLogin_Saml2_IdPMetadataParser.get_metadata(url)
    except Exception as exception:
        raise SAMLMetadataLoadingError(inner_exception=exception)
    self._logger.info("Finished loading IdP XML metadata from {0}".format(url))
    return xml_metadata