private void button1_Click(object sender, RoutedEventArgs e) { ServiceReference1.OnBoardingServiceClient cli = new ServiceReference1.OnBoardingServiceClient(); string[] resp = cli.getWorkflowStatus(id); foreach (string s in resp) { MessageBox.Show(s); } }
private void button_Click(object sender, RoutedEventArgs e) { ServiceReference1.OnBoardingServiceClient cli = new ServiceReference1.OnBoardingServiceClient(); FileInfo fi = new FileInfo(System.Reflection.Assembly.GetEntryAssembly().Location); String path = fi.Directory + @"\Activities\BlankOnboardActivity.xaml"; byte[] by = File.ReadAllBytes(path); id = cli.StartProcess(new Employee() { emplName = "ABC", emplWorkStartDate = new DateTime(2017, 4, 18, 10, 0, 0), emplID = 995 }, by); MessageBox.Show(id.ToString()); }