Config File ----
--End Config File
--Code
MemberServicePortTypeClient MemberManager = new MemberServicePortTypeClient("MemberServiceHttpPort");
MemberManager.ClientCredentials.UserName.UserName = this.UserID;
MemberManager.ClientCredentials.UserName.Password = this.Pwd;
//Call the method
string test = MemberManager.Method();
|