Xinxin He | I want to via ControlCenterServices get the CUCM service status. my code like this: ServicePointManager.CertificatePolicy = new SSL(); ControlCenterServices s = new ControlCenterServices(); ServicePointManager.Expect100Continue = false; ICredentials credentials = new NetworkCredential("admin", "Pass1234"); s.Credentials = credentials; s.SoapVersion = System.Web.Services.Protocols.SoapProtocolVersion.Soap11; string[] a = new string[1]; a[0] = "Cisco Tftp"; s.RequestEncoding = System.Text.Encoding.UTF8; //s.UseDefaultCredentials = true; //s.Url = "192.168.32.9"; //ControlServiceRequest c = new ControlServiceRequest(); //c.ControlType=ControlType. ServiceInformationResponse response = new ServiceInformationResponse(); response = s.soapGetServiceStatus(a); but there are error at last line. Dose anybody konw why . thanks. |
| Please sign in to flag this as inappropriate. |