Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public void CallServiceMNB()
- {
- ServiceReference1.SOAPCLIENT objMNB = new ServiceReference1.SOAPCLIENT();
- ServiceReference1.SOAPCLIENTinput input = new ServiceReference1.SOAPCLIENTinput();
- string Username = "xxx";
- string Password = "xxxx";
- objMNB.ClientCredentials.UserName.UserName = Username;
- objMNB.ClientCredentials.UserName.Password = Password;
- input.p_FROM_DATE = "01-01-2018";
- input.p_JE_CATEGORY = "xxxx";
- input.p_GROUP_ID = "";
- input.p_JE_SOURCE = "YYYYYY";
- input.p_LEDGER_NAME = "YYYYY";
- input.p_TO_DATE = "31-12-2018";
- try
- {
- objMNB.Open();
- objMNB.GetGLDetails(input);
- objMNB.Close();
- }
- catch (Exception Ex)
- {
- this.richTextBox1.Text = Ex.ToString();
- objMNB.Close();
- }
- }
Add Comment
Please, Sign In to add comment