pub fn resolve_resource_reference( reference: &str, service_origin: &str, ) -> Result<Url, ReferenceError>