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

Issues with CUCM API - 599 Wrong AXL Version

AttitudePebbles
Level 1
Level 1

Hey everyone,

Trying to get the SOAP API to respond nicely to my getPhone request but it is not letting me in.

 

I've tried so many possible combinations of the namespace and the header, and it still gives me an error message stating "Message: Wrong axl version, supported versions are 9.x,10.x and 11.0".

 

My CUCM version is 11.5.

My SOAPAction header is set to 11.0

My xmlns:ns is set to http://www.cisco.com/AXL/API/11.0

 

I am not sure what I am doing wrong. I have permission and the API seems to be responding fine. I would appreciate any help or direction. I've tried setting both the versions to 11.5 but no dice.

2 Replies 2

AnthonySylvester
Cisco Employee
Cisco Employee

Can you provide the script you're trying to run? Or if you're using Postman, a screenshot would be fine.


** Please remember to mark this post if it was helpful. **
Anthony Sylvester

dstaudt
Cisco Employee
Cisco Employee

Below is a complete successful request against my 11.5 lab instance.  I sometimes miss the double quotes around the SOAPAction value

POST https://ds-ucm115-1.cisco.com:8443/axl/ HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "CUCM:DB ver=11.5 getPhone"
Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ=
JSESSIONIDSSO: C7AB2F6B07C1FEAE397784670B442B0C; Path=/; Secure; HttpOnly
Content-Length: 273
Host: ds-ucm115-1.cisco.com:8443
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.5.5 (Java/16.0.1)

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/11.5">
   <soapenv:Header/>
   <soapenv:Body>
      <ns:getPhone>
         <name>CSFdstaudt</name>
      </ns:getPhone>
   </soapenv:Body>
</soapenv:Envelope>