Beispiel #1
0
        public applicationTO SaveApplication(applicationTO application)
        {
            applicationTO result = null;

            using (CaseManagementClient client = new CaseManagementClient())
            {
                ConfigureClient(client);
                try
                {
                    client.Open();
                    result = client.SaveApplication(application);
                    client.Close();
                }
                catch (Exception ex)
                {
                    client.Abort();
                    throw ex;
                }
            }
            return(result);
        }
Beispiel #2
0
        public bool CheckConnection()
        {
            bool result = false;

            using (CaseManagementClient client = new CaseManagementClient())
            {
                ConfigureClient(client);
                try
                {
                    client.Open();
                    result = client.CheckConnection();
                    client.Close();
                }
                catch (Exception ex)
                {
                    client.Abort();
                    throw ex;
                }
            }
            return(result);
        }
Beispiel #3
0
        public webservices.casemanagement.extra.partyTO SaveParty(webservices.casemanagement.extra.partyTO party)
        {
            partyTO result = null;

            using (CaseManagementClient client = new CaseManagementClient())
            {
                ConfigureClient(client);
                try
                {
                    client.Open();
                    result = client.SaveParty(party);
                    client.Close();
                }
                catch (Exception ex)
                {
                    client.Abort();
                    throw ex;
                }
            }
            return(result);
        }
Beispiel #4
0
        public applicationTO GetApplication(string id)
        {
            applicationTO result = null;

            using (CaseManagementClient client = new CaseManagementClient())
            {
                ConfigureClient(client);
                try
                {
                    client.Open();
                    result = client.GetApplication(id);
                    client.Close();
                }
                catch (Exception ex)
                {
                    client.Abort();
                    throw;
                }
            }
            return(result);
        }