Ejemplo n.º 1
0
        public GetAgreementListResponse getAgreementList(GetAgreementListRequest getAgreementListRequest)
        {
            try
            {
                Log.Info("Counterparty GetAgreementListRequest: " + (getAgreementListRequest == null ? "null" : getAgreementListRequest.ToString()));

                //var client = new GetCptyInfoService.CptyInfoClient();
                //var response = client.getAgreementList(request);

                var agreements = new Agreement[] { new Agreement("AgreementType1") };
                var response   = new GetAgreementListResponse(agreements);

                Log.Info("Counterparty GetAgreementListResponse: " + (response == null ? "null" : response.ToString()));
                return(response);
            }
            catch (Exception e)
            {
                Log.Error("Failed to process getAgreementList() service call", e);
                throw e;
            }
        }
Ejemplo n.º 2
0
        public GetAgreementListResponse getAgreementList(GetAgreementListRequest getAgreementListRequest)
        {
            try
            {
                Log.Info("Counterparty GetAgreementListRequest: " + (getAgreementListRequest == null ? "null" : getAgreementListRequest.ToString()));

                //var client = new GetCptyInfoService.CptyInfoClient();
                //var response = client.getAgreementList(request);

                var agreements = new Agreement[] { new Agreement("AgreementType1") };
                var response = new GetAgreementListResponse(agreements);

                Log.Info("Counterparty GetAgreementListResponse: " + (response == null ? "null" : response.ToString()));
                return response;
            }
            catch (Exception e)
            {
                Log.Error("Failed to process getAgreementList() service call", e);
                throw e;
            }

        }