프로젝트

일반

사용자정보

개정판 95e6fe93

ID95e6fe93ced613938f438371be785455592daf50
상위 497099f3
하위 6b6bc870

김태성이(가) 4년 이상 전에 추가함

-autoapproval 수정

Change-Id: Ic1d2983e9bfacfa5fd6bd8a284a5641978a2a098

차이점 보기:

KCOM_API_AutoStamping/AutoApprovalTest.aspx.cs
87 87
                //catch (Exception ex)
88 88
                //{
89 89
                //}
90

  
90 91
            }
92

  
93
            BtnHiddenYes.Click += Button1_Click;
91 94
        }
92 95

  
93 96
        protected void Button1_Click(object sender, EventArgs e)
......
110 113
            client.Headers.Add(HttpRequestHeader.ContentType, "text/xml");
111 114
            client.Headers.Add("SOAPAction", "urn:Common/AutoStamping");
112 115

  
113
            string _result = client.UploadString(new Uri($"http://{Request.Url.Host.ToString()}:{Request.Url.Port}/AutoStamping.svc"), reqstr);
116
           string _result = client.UploadString(new Uri($"http://{Request.Url.Host.ToString()}:{Request.Url.Port}/AutoStamping.svc"), reqstr);
117
            //string _result = client.UploadString(new Uri("http://10.11.252.3:9877/AutoStamping.svc"), reqstr);
114 118
            XmlTextReader reader = new XmlTextReader(new System.IO.StringReader(_result));
115

  
116
            string msg = "Success\\naaaa";
119
            string msg = "Success!\\nAfer a while, please check the generation of Merged PDFs on the VP Circulation inquiry screen.";
117 120

  
118 121
            while (reader.Read())
119 122
            {
......
130 133
                }
131 134
            }
132 135

  
136
            SaveCookies(cookieKeySelectPrj, project_no);
137

  
133 138
            Response.Write("<script language='Javascript'> ");
134
            Response.Write("alert('" + msg + "'); ");
139
            Response.Write("alertify.alert('" + msg + "'); ");
135 140
            Response.Write("</script>");
136
            SaveCookies(cookieKeySelectPrj, project_no);
137 141
        }
138 142

  
139 143
        private void SaveCookies(string Key,string value)

내보내기 Unified diff

클립보드 이미지 추가 (최대 크기: 500 MB)