cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
3096
Views
10
Helpful
2
Replies

599 Error with CURL Example

GaryFurash
Level 1
Level 1

When I try to use the example from 

 

https://developer.cisco.com/docs/axl/#!hello-world-with-curl

 

passing a user name and password I get an empty 559 response., with a message of none.

 

<div id="content">
<div id="content-header">HTTP Status 599 - </div>
<p>
<b> type: </b> Status report </p>
<p>
<b>message: </b>
</p>
<p>
<b>description: </b> http.599 </p>
</div>

 

Curl Command

curl -k -u [user]:[password] -H "Content-type: text/xml;" "SOAPAction:CUCM:DB ver=11.5" -d @request.xml https://ddscucmpub:8443/axl/

 

(

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

The HTTP 599 error indicates that you are requesting an AXL version that is not supported by the CUCM (see details about how CUCM and AXL versions are related).

 

You will need to update '8.5' in both the xmlns:ns namespace URL in the XML document, as well as in the SOAPAction header in the command to reflect the target version - e.g. 11.5 for CUCM v11.5.

 

Some other issues in the sample XML have also now been fixed/published to get it working with CUCM 12.5 (which is a bit stricter when parsing the request XML), please re-copy the XML sample as needed.

View solution in original post

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

The HTTP 599 error indicates that you are requesting an AXL version that is not supported by the CUCM (see details about how CUCM and AXL versions are related).

 

You will need to update '8.5' in both the xmlns:ns namespace URL in the XML document, as well as in the SOAPAction header in the command to reflect the target version - e.g. 11.5 for CUCM v11.5.

 

Some other issues in the sample XML have also now been fixed/published to get it working with CUCM 12.5 (which is a bit stricter when parsing the request XML), please re-copy the XML sample as needed.

I got it to work with this

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
    <soapenv:Header/>
    <soapenv:Body>
        <ns:executeSQLQuery sequence="?">
            <sql>select lg.name as LineGroup,n.dnorpattern,dhd.hlog from linegroup as lg inner join linegroupnumplanmap as lgmap on lgmap.fklinegroup=lg.pkid inner join numplan as n on lgmap.fknumplan = n.pkid inner join devicenumplanmap as dmap on dmap.fknumplan = n.pkid inner join device as d on dmap.fkdevice=d.pkid inner join devicehlogdynamic as dhd on dhd.fkdevice=d.pkid order by lg.name</sql>
        </ns:executeSQLQuery>
    </soapenv:Body>
</soapenv:Envelope>
 
and this as the CURL
 
curl -k -u  xxx:xxxx -H "Content-type: text/xml;" "SOAPAction:CUCM:DB ver=11.5" -d @request.xml https://ddscucmpub:8443/axl/