public void ExecuteEvent(string eventAlias, ItemIdentifier itemId, SerializableDictionary<string, string> parameters) { //encrypt login and password string loginName = ""; string pass = ""; getloginAndPass(UserId, ref loginName, ref pass); string _url = getWSUrl(this.Url); RevisionLog.Instance.AddItemEntry(itemId, this.GetType(), "EventManager", "Executing event" + eventAlias, LogItemEntryType.Information); RepositoryWebservice repo = new RepositoryWebservice(_url); repo.Execute(this.SessionKey, eventAlias, itemId, null, loginName, pass); repo.Dispose(); }