protected void btnAssociated_Click(object sender, EventArgs e)
    {
        BrokerDB ticketing = new BrokerDB();
        Coupon coupon = null;
        string webserviceURL = System.Configuration.ConfigurationManager.AppSettings["serviceURL"].ToString();
        //string infoURL = System.Configuration.ConfigurationManager.AppSettings["infoURL"].ToString();
        string contactEmail = System.Configuration.ConfigurationManager.AppSettings["registrationMailAddress"].ToString();

        ticketing.SelfRegisterProcessAgent(txtAgentGUID.Text, txtName.Text, ProcessAgentType.SERVICE_BROKER,
            txtAgentGUID.Text, txtURL.Text, webserviceURL);
        ProcessAgentDB.RefreshServiceAgent();
        //ticketing.InsertProcessAgent(txtAgentGUID.Text, txtName.Text,
        //    ProcessAgentType.SERVICE_BROKER, null,  webserviceURL, txtURL.Text, infoURL,  contactEmail, -5,
        //    coupon, coupon);
    }