[cisco-voip] FW: HELP Using AXL RisPort .NET
Andrey Syvrachev
a.syvrachev at cti.ru
Thu Dec 20 09:47:14 EST 2007
Hello, I have a problem using AXL API.
I have generate RisPort C# proxy class from wsdl.
I need to obtain a list of phones(and their IP and MAC), connected to CCM6.0.
This in my C# code:
RISService risService = new RISService("172.18.1.130","administrator", "password");
risService.AstHeaderValue = new AstHeader();
risService.AstHeaderValue.SessionId = "SessionId";
risService.AstHeaderValue.MustUnderstand = true;
string stateInfo = "";
CmSelectionCriteria criteria = new CmSelectionCriteria();
criteria.MaxReturnedDevices = 255;
criteria.Class = DeviceClass.Phone ;
criteria.Model = 255;
criteria.NodeName = "";
criteria.SelectBy = CmSelectBy.Name;
criteria.Status = CmDevRegStat.Any;
criteria.SelectItems = new SelectItem[2];
criteria.SelectItems[0] = new SelectItem();
criteria.SelectItems[0].Item = "";
SelectCmDeviceResult result = risService.SelectCmDevice(ref stateInfo, criteria);
After execution of this code:
The SoapException is generated: "5003No Handler found for SelectCmDeviceSelectItem".
I need to send right risService.SelectCmDevice() request. Help me Please!
С уважением,
Сыврачев Андрей,
Старший инженер-программист группы ЦОВ.
CTI - Communications. Technology. Innovations.
Tel. +7 (495)784-73-13 ext.2671
Fax +7 (495)784-73-14
Cel +7(926)563-76-95
a.syvrachev at cti.ru
www.cti.ru
More information about the cisco-voip
mailing list