Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: Gordon Ross on 25-11-2011 07:24:23 AM I'm trying to use the perfMonAddCounter SOAP call. I can use the OpenSession()/ListCounter()/CloseSession()/perfmonQueryCounterDescription() functions fine. When I try and call addCounter: CounterType counters = new CounterType[1]; counters[0] = new CounterType("\\\\cucmdev-1\\Cisco CallManager\\RegisteredHardwarePhones");
stub.perfmonAddCounter(handle, counters); I get an IllegalArgumentException thrown by the CallManager SOAP stack (not by my client !) Yet doing: stub.perfmonQueryCounterDescription("\\\\cucmdev-1\\Cisco CallManager\\RegisteredHardwarePhones"); works fine (Showing that my counter name is correct). Any suggestions as to what is wrong ? Thanks, GTG
Subject: RE: PerfMonAddCounter throws exception Replied by: Gordon Ross on 01-02-2012 03:47:37 AM I've got a solution....
There appears to be an error with the Java class file produces by the wsdl2java program in Apache AXIS1 (and as we all know, in Cisco's little world, AXIS2 doesn't exist 😉 )
The problem is in the CounterType java file. Look for the line:
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: