For more details on the WS-I Basic Profile v1.1, see the specification at http://www.ws-i.org/Profiles/BasicProfile-1.1.html. 3. If I try to use the AstService client (after making modifications to the client code as per the CUCM XML Developers Guide) to invoke the PerfmonOpenSession method, I run into this exception - There is an error in XML document (1, 475) Cannot assign object of type System.Xml.XmlNode to an object of type System.String at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events) I am using VS2008 Professional with SP1, here is the snippet of code that fails - AstService perfmonService = new AstService("192.168.2.10", "admin", "ccm61bc"); string sessionId = perfmonService.PerfmonOpenSession(); var result = perfmonService.PerfmonListCounter("192.168.2.10"); In the second try, I used the 'Add Service Reference' in VS2008 and tried to run this code - System.Net.ServicePointManager.ServerCertificateValidationCallback = ((sender, certificate, chain, sslPolicyErrors) => true); WebServices.PerfmonPortTypeClient perfmonClient = new HuntGroupReporter.Core.WebServices.PerfmonPortTypeClient(); perfmonClient.ClientCredentials.UserName.UserName = "admin"; perfmonClient.ClientCredentials.UserName.Password = "ccm613u"; perfmonClient.Endpoint.Address = new System.ServiceModel.EndpointAddress("http://192.168.2.10/perfmonservice/services/PerfmonPort"); perfmonClient.ClientCredentials.Windows.AllowedImpersonationLevel = System.Security.Principal.TokenImpersonationLevel.Impersonation; string sessionId = perfmonClient.PerfmonOpenSession();
This call fails with a security exception. I am sure it is a WCF client configuration issue. I would really appreciate if you anyone can help me get a simple C#/.NET client working with the CUCM 6.1.3 with the SOAP client code generated through wsdl.exe. Are there any .NET samples for PerfmonPort? Many thanks. indy
Subject: RE: C# PerfmonPort web service client (with CUCM 6.1.3) Replied by: Giggesh Thekkekeloth on 08-06-2010 05:29:47 AM Thanks for raising the SR-614492961 http://wwwin-tools.cisco.com/casekwery/getServiceRequest.do?id=614492961 for this issues. To summerize the issue: We understood that the CUCM XML Developers Guide 6.x/7.x/8.x to generate C#/.NET SOAP web service clients for the AXL/SOAP and PerfmonPort web service interfaces for their CUCM. With the generated C# source you were able to query CUCM 'AXL interface and execute the web methods available in the AXL WSDL. But faced problem using the 'PerfmonPort' C# client. So, later later with the Service Request 614492961 we learnt that "This is an issue with C# or .net not compatible with wsdl spec 1.1, Perfmonport web service works well with other clients and we do not have fix for this until we move to wsdl 2 convention. Yes, we can document that we are using the wsdl1.1 spec for serviceability xml." Following which a defect -CDETS: http://cdets.cisco.com/apps/goto?identifier=CSCth13311 has been raised to correct API document, which is under work.
Hi,I enabled Call Recording to a user but got this error message "Failed to modify: [Error 18104] No Recording Platform is currently configured and assigned. Contact your administrator."Is Call Recording ready?
Hi - can someone help me figure this out - I have the following python logic that I'm using to connect to UCM and execute perfMon api. I do get back some xml but cant seem to parse out, for example the various child values.Request=requests.post(url,data=s...
Hi skumar1,I know it sounds very strange but today I cannot login to Broadworks web portal Grp2 again.After you reset this account last week, I changed the password and made changes to some user configurations. In last couple days I was only login t...