cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1007
Views
0
Helpful
8
Replies
Highlighted
Beginner

GetDeviceProfile() throws error "Item not valid: The specified null was not found"

Hello,

I am trying to get the information about which services are enabled on CUCM. I am using AXL API 10.5 for it.

UI wise, this is the place we check it manually today on each CUCM Publisher: Cisco Unified Serviceability > Tools > Service Activation

1. From the schema, I believe GetDeviceProfile returns the list of services enabled on CUCM.

But when I try the following request through SoapUI, I get an error in the response. Not sure what's wrong here.

2. I tried 2 possibilities by providing only one from name and uuid at a time. I believe "name" is the name of the application user and I got an "uuid" for that user from GetAppUser API.

3. Please let me know if this is the right API that gives a list of services activated on CUCM publisher? If not, is there any other API that I should be using.

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">

   <soapenv:Header/>

   <soapenv:Body>

      <ns:getDeviceProfile sequence="">

         <!--You have a CHOICE of the next 2 items at this level-->

         <uuid>{A14F8565-8E3F-1A92-BA39-9F0657061202}</uuid>

      </ns:getDeviceProfile>

   </soapenv:Body>

</soapenv:Envelope>

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">

   <soapenv:Body>

      <soapenv:Fault>

         <faultcode>soapenv:Server</faultcode>

         <faultstring>Item not valid: The specified null was not found</faultstring>

         <detail>

            <axlError>

               <axlcode>5007</axlcode>

               <axlmessage>Item not valid: The specified null was not found</axlmessage>

               <request>getDeviceProfile</request>

            </axlError>

         </detail>

      </soapenv:Fault>

   </soapenv:Body>

</soapenv:Envelope>

8 REPLIES 8
Highlighted
Cisco Employee

Please see the Service Control API for this type of functionality:

https://developer.cisco.com/site/sxml/documents/api-reference/service-control/

Highlighted

Does this mean, AXL API can not provide these service related details?

Highlighted

AXL does not expose high-level requests for this info.

It may be possible to use SQL queries via <executeSqlQuery> to determine the static configuration of services by querying various CUCM DB tables, but this will not provide the actual runtime status of services that Services Control API also provides.

Highlighted

Thanks for the response.

Could you please also let us know the following?

1. I found the API call soapGetServiceStatus gives a list of all services with their activation status.

But which API allows updating the service status?

2. Does updating any service status requires special access group or permission to be assigned to the application user we are using to make this API call?

For example: For AXL API calls, it required "AXL User Group" to be assigned to the application user account.

Highlighted

1. See the soapDoControlServices for performing service tasks: https://developer.cisco.com/site/sxml/documents/api-reference/service-control/#soapdocontrolservices

2. Looks like the Service Control API requires the following roles:

  • Standard CCM Admin Users
  • Standard CCM System Management
Highlighted

Thank you. I will play with the API and roles.

Highlighted

Hi,

I am not able to find "Standard CCM System Management" access control group in our call manager.

Following is the list of roles we have starting with "Standard CCM..."

User_Groups_where_Name_begins_with_Standard_CCM.PNG

Highlighted

Note, your screenshot is showing a list of 'Access Control Groups', where each ACG is comprised of one or more 'roles' that control resources.  There is no built-in ACG which includes only the Standard CCM System Management role, you will need to create a new ACG, and add the two mentioned roles to it - then you can add this new ACG to your user's permissions.

Screenshot from 2016-11-11 09-55-59.png

This widget could not be displayed.