cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1180
Views
0
Helpful
1
Replies

Use SOAP to display current active loadID of the phone

jialinli
Level 1
Level 1

Hi,

According to https://developer.cisco.com/site/sxml/documents/api-reference/risport/#selectcmdevice-response-format , I use the following SOAP request to get response:

<!--RisPort70 API - SelectCmDeviceExt - Request-->
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soap="http://schemas.cisco.com/ast/soap">
   <soapenv:Header/>
   <soapenv:Body>
   <soap:selectCmDeviceExt>
   <soap:StateInfo></soap:StateInfo>
   <soap:CmSelectionCriteria>
   <soap:MaxReturnedDevices>1000</soap:MaxReturnedDevices>
   <soap:DeviceClass>Any</soap:DeviceClass>
   <soap:Model>255</soap:Model>
   <soap:Status>Any</soap:Status>
   <soap:NodeName></soap:NodeName>
   <soap:SelectBy>Name</soap:SelectBy>
   <soap:SelectItems>
   <!--Zero or more repetitions:-->
   <soap:item>
   <soap:Item>SEPE0D173E54512</soap:Item>
   </soap:item>
   </soap:SelectItems>
   <soap:Protocol>Any</soap:Protocol>
   <soap:DownloadStatus>Any</soap:DownloadStatus>
   </soap:CmSelectionCriteria>
   </soap:selectCmDeviceExt>
   </soapenv:Body>
</soapenv:Envelope>

I saved the SOAP request in Ristest.xml and run the command " curl -k -u jialing-cucm02:sheldon123CC -H "Content-type: text/xml;" -H "SOAPAction:CUCM:DB ver=11.5" -d @Ristest.xml https://tipbu-cucm-jialinli02:8443/axl/", but I got an error response:

<?xml version='1.0' encoding='UTF-8'?>

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

<soapenv:Body>

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

<faultcode>axis2ns11:Client</faultcode>

<faultstring>The endpoint reference (EPR) for the Operation not found is https://tipbu-cucm-jialinli02:8443/axl/services/AXLAPIService and the WSA Action = CUCM:DB ver=11.5 selectCmDeviceExt</faultstring>

<detail />

</soapenv:Fault>

</soapenv:Body>

</soapenv:Envelope>

1 Accepted Solution

Accepted Solutions
1 Reply 1

jialinli
Level 1
Level 1
Getting Started

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: