I want to check availability of web service. this is my code that i running a function from web service
DataSet ds = new DataSet();
DataTable dt = new DataTable();
NegsoNotifier.WorkItemsService.WorkItemsSoapClient wiservice;
wiservice = new NegsoNotifier.WorkItemsService.WorkItemsSoapClient();
System.ServiceModel.EndpointAddress adr;
adr = new System.ServiceModel.EndpointAddress(Weburl);
wiservice.Endpoint.Address = adr;
//wiservice.Open();
ds = wiservice.GetMyWorkItems(Username, Password);
dt = ds.Tables[0];
How can I understand this Web service is running or not?