cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
268
Views
0
Helpful
2
Replies

<!--This API has been processed by GAXL not AXL-->

lneyman
Level 1
Level 1

We are issuing a request on our newly installed CUCM 15 and I am getting nothing in the response despite having 3 records in that list. Our CUCM 14 works fine and returns the requested values.

POST /axl/ HTTP/1.1

<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><axl:listCCAProfiles xmlns:axl="http://www.cisco.com/AXL/API/14.0"><searchCriteria><ccaId>%</ccaId></searchCriteria><returnedTags><ccaId></ccaId></returnedTags></axl:listCCAProfiles></SOAP-ENV:Body></SOAP-ENV:Envelope>

Sent 311 bytes in 111.616 mS:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
 <SOAP-ENV:Body>
  <axl:listCCAProfiles xmlns:axl="http://www.cisco.com/AXL/API/14.0">
   <searchCriteria>
    <ccaId>%</ccaId>
   </searchCriteria>
   <returnedTags>
    <ccaId>
    </ccaId>
   </returnedTags>
  </axl:listCCAProfiles>
 </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

HTTP/1.1 200 
Date: Sat, 17 Feb 2024 23:13:24 GMT
Content-Length: 274
Content-Type: text/xml;charset=ISO-8859-1
Server: 
X-Frame-Options: SAMEORIGIN
Strict-Transport-Security: max-age=31536000; includeSubdomains
Content-Security-Policy: default-src *; script-src * 'unsafe-inline' 'unsafe-eval';style-src * 'unsafe-inline'; img-src * data: 'unsafe-inline';
X-Content-Type-Options: nosniff
X-XSS-Protection: 1; mode=block



Received 274 bytes in 0.076 mS:
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
 <soap:Body>
  <ns2:listCCAProfilesResponse xmlns:ns2="http://www.cisco.com/AXL/API/14.0">
   <return/>
  </ns2:listCCAProfilesResponse>
 </soap:Body>
</soap:Envelope>
<!--This API has been processed by GAXL not AXL-->

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

I can reproduce the problem if version 14 SOAPAction and XMLNS are included:

POST https://cucm15:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCM:DB ver=14.0 listCCAProfiles"
Content-Length: 426
Host: cucm15:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.5 (Java/16.0.2)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listCCAProfiles xmlns:ns="http://www.cisco.com/AXL/API/14.0">
         <searchCriteria>
            <ccaId>%</ccaId>
         </searchCriteria>
         <returnedTags>
            <ccaId>
            </ccaId>
         </returnedTags>
      </ns:listCCAProfiles>
   </soapenv:Body>
</soapenv:Envelope>

(Returns zero records)

However, specifying version 15 seems to work:

POST https://cucm15:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCM:DB ver=15.0 listCCAProfiles"
Content-Length: 426
Host: cucm15:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.5 (Java/16.0.2)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listCCAProfiles xmlns:ns="http://www.cisco.com/AXL/API/15.0">
         <searchCriteria>
            <ccaId>%</ccaId>
         </searchCriteria>
         <returnedTags>
            <ccaId>
            </ccaId>
         </returnedTags>
      </ns:listCCAProfiles>
   </soapenv:Body>
</soapenv:Envelope>

The request listCCAProfiles exists in CUCM v14, so AFAIK this should work and is likely a bug in v15, albeit with workaround of sending v15 in the AXL request.

I've created defect # CSCwj06815 to track the issue.

 

 

View solution in original post

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

I can reproduce the problem if version 14 SOAPAction and XMLNS are included:

POST https://cucm15:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCM:DB ver=14.0 listCCAProfiles"
Content-Length: 426
Host: cucm15:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.5 (Java/16.0.2)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listCCAProfiles xmlns:ns="http://www.cisco.com/AXL/API/14.0">
         <searchCriteria>
            <ccaId>%</ccaId>
         </searchCriteria>
         <returnedTags>
            <ccaId>
            </ccaId>
         </returnedTags>
      </ns:listCCAProfiles>
   </soapenv:Body>
</soapenv:Envelope>

(Returns zero records)

However, specifying version 15 seems to work:

POST https://cucm15:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCM:DB ver=15.0 listCCAProfiles"
Content-Length: 426
Host: cucm15:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.5 (Java/16.0.2)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:listCCAProfiles xmlns:ns="http://www.cisco.com/AXL/API/15.0">
         <searchCriteria>
            <ccaId>%</ccaId>
         </searchCriteria>
         <returnedTags>
            <ccaId>
            </ccaId>
         </returnedTags>
      </ns:listCCAProfiles>
   </soapenv:Body>
</soapenv:Envelope>

The request listCCAProfiles exists in CUCM v14, so AFAIK this should work and is likely a bug in v15, albeit with workaround of sending v15 in the AXL request.

I've created defect # CSCwj06815 to track the issue.

 

 

lneyman
Level 1
Level 1

Having adjusted the header to refer to the new version (which I thought I did, but apparently not) I am now able to run all of our commands on the CUCM 15. 

Thank you!