예제 #1
0
        private void UpdatePhoto(string persNo)
        {
            MessageHeader shuSoapHeader = new ShuSoapHeader {
                UserID = "478FAFFC-05B3-4415-892A-79AEE857D681", PassWord = "******"
            };

            var client = new SLoginServicesSoapClient();

            client.GetPhotoCompleted += ClientGetPhotoCompleted;
            OperationContext.Current  = new OperationContext(client.InnerChannel);
            OperationContext.Current.OutgoingMessageHeaders.Add(shuSoapHeader);
            client.GetPhotoAsync(persNo, 1521);
        }
예제 #2
0
        void UpdateInfo(string persNo)
        {
            MessageHeader shuSoapHeader = new ShuSoapHeader {
                UserID = "3EC059F5-DC81-4938-83CA-5643B01EC872", PassWord = "******"
            };

            var client = new SLoginServicesSoapClient();

            client.GetShuPersInfoForInfoCompleted += ClientGetShuPersInfoForFccCompleted;
            OperationContext.Current = new OperationContext(client.InnerChannel);
            OperationContext.Current.OutgoingMessageHeaders.Add(shuSoapHeader);
            //call Reference.cs->EndGetShuPersInfoForFcc
            client.GetShuPersInfoForInfoAsync(persNo, 8423);
        }