def METHOD_NAME(conf):
    """ Encode OperationsMetadata XML element. """
    versions = ("1.0.0",)
    get_handlers = filter_handlers(
        service="WPS", versions=versions, method="GET"
    )
    post_handlers = filter_handlers(
        service="WPS", versions=versions, method="POST"
    )
    all_handlers = sorted(
        set(get_handlers + post_handlers), key=lambda h: h.request
    )
    url = conf.http_service_url
    return OWS("OperationsMetadata", *[
        OWS("Operation",
            OWS("DCP",
                OWS("HTTP",
                    OWS("Get", **{ns_xlink("href"): url}),
                    OWS("Post", **{ns_xlink("href"): url}),
                )
            ), name=handler.request
        )
        for handler in all_handlers
    ])