Example #1
0
        public string GetProvisionHistoryTestMethod()
        {
            GetProvisionHistoryRequestFactory factory = new GetProvisionHistoryRequestFactory();

            factory.request.requestHeader.clientIPAddress = ("4.4.4.4");
            factory.request.reconciliationDate            = "20181121";

            getProvisionHistoryRequest request = factory.Build();

            getProvisionHistoryResponse response =
                new GetProvisionHistoryClientService().SoapClient(request);

            Assert.IsNotNull(response);
            Assert.AreEqual("Success", response.responseHeader.responseDescription);
            return(response.responseHeader.responseCode);
        }
        protected getProvisionHistoryResponse GetProvisionHistory_Method(string reconciliationDate)
        {
            GetProvisionHistoryRequestFactory factory = new GetProvisionHistoryRequestFactory();

            factory.request.requestHeader.clientIPAddress = "4.4.4.4";
            factory.request.reconciliationDate            = reconciliationDate;


            try
            {
                getProvisionHistoryRequest  request  = factory.Build();
                getProvisionHistoryResponse response = new GetProvisionHistoryClientService().OptionalRequest(MySession.Current.requestFilter, request);
                return(response);
            }
            catch (Exception ex)
            {
                ClientScript.RegisterStartupScript(this.GetType(), "myalert", "alert('" + ex.Message + "');", true);
                return(null);
            }
        }