Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

CCM 6.1 - Get list of Devices + IP Address of each device

I am trying without much success to get a list of devices and their associated IP Address.

I have seen reference to an in MEMORY DB that you can not use SQL to query.

I saw a reference to using AXL and SelectCmDevice

When I tested this I get the following error:

"No Handler found for SelectCmDevice"

Why is there no real samples to do this as it is quite common. What was once a simple called to GetDeviceListX has got a lot more complex.

Does anyone have a working copy of code to pull this data?

The AXL example I have follows here:

<?xml version="1.0" encoding="utf-8"?>

<soapenv:Envelope xmlns:soapenv="" xmlns:xsd="" xmlns:xsi="">


<ns1:SelectCmDevice soapenv:encodingStyle="" xmlns:ns1="">


<CmSelectionCriteria soapenv:encodingStyle="" xsi:type="ns2:CmSelectionCriteria" xmlns:soapenc="" xmlns:ns2="">






<SelectItems soapenc:arrayType="ns2:SelectItem[2]" xsi:type="soapenc:Array">

<item soapenv:encodingStyle="" xsi:type="ns3:SelectItem" xmlns:ns3="" xmlns:soapenc="">



<item soapenv:encodingStyle="" xsi:type="ns3:SelectItem" xmlns:ns3="" xmlns:soapenc="">








But this generates the following error response:

<SOAP-ENV:Envelope xmlns:SOAP-ENV="" SOAP-ENV:encodingStyle=""><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>No Handler found for SelectCmDevice</faultstring><detail><axl:Error xmlns:axl=""><axl:code>5003</axl:code><axl:message>No Handler found for SelectCmDevice</axl:message><request>SelectCmDevice</request></axl:Error></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>

Please help me as I do not know where to go next.


Re: CCM 6.1 - Get list of Devices + IP Address of each device

Are you using the sample I posted? (sep1234 and 1235 sound suspicious).. if so, that request should work.. however then the question is where to you submit it to, and do you send the appropriate header and method when making the request?

New Member

Re: CCM 6.1 - Get list of Devices + IP Address of each device

Thanks for the reply.

Yes I would assume it was your sample code. I found that I was posting to the wrong URL originally when I got the error "No Handler found for SelectCmDevice"

I was posting to /AXL instead of /realtimeservice/services/RisPort

But I now get an HTTP 500 Internal Server Error when I post to the RisPort service.

My post URL is :

I add this header:

SOAPAction: ""

I am using a POST http verb

I am using a content type of text/XML

I am using an accept header of text/XML

My latest XML for the soap request is:" xmlns:soapenc="" xmlns:tns="" xmlns:types="" xmlns:xsi="" xmlns:xsd="">">







And when I do this I get internal server error as a response.


Re: CCM 6.1 - Get list of Devices + IP Address of each device

Do you get the same error when you use my sample again (replace SEP1234 and SEP1235 with the actual phones)?

I see a SessionId in your second request and I don't recall using such an element in my own code... error 500 means the request you send is invalid (or if you're using a stateinfo element it could also be that you didn't wrap the stateinfo into a cdata element (the documentation doesn't tell you that but I had to find out the hard way)).

I wasted a lot of time trying to untable the whole ref thing in the sample that cisco provides.. but my untangled version has worked fine since and I wouldn't dare touch the code again (except that stateinfo thing that I still need to modify.. once you're at that point where things work if you're interested in StateInfo I think I got the point now (I have a case open so I'm going back and forth with the engineer to get all the details))