Tag: cisco axl

SOAP / AXL请求到CUCM失败,Node.js

所有, 感谢您抽出时间检查这个问题。 任何帮助表示赞赏,因为我是一个初学者。 我正在尝试使用Node.js将SOAP / AXL呼叫转移到v11.5 Cisco Callmanager。 我已经从这个人的博客复制代码有一个非常真棒解释: http : //blog.darrenparkinson.uk/2014/04/accessing-cisco-administrative-xml-axl.html 我已经validation用户具有AXL权限,并且在CAllmanager上启用了AXL服务。 我能够成功地运行相同的SOAP / AXL调用使用相同的凭据使用SoapUI相同的Callmanager成功。 但是,当我运行这个我得到一个http.599错误。 我有一个有趣的感觉,这与安全有关,但我不能把它放在手指上。 这是我的代码。 var https = require("https"); var authentication = 'username:password'; var headers = { 'SoapAction':'CUCM:DB ver=11.5', 'Authorization': 'Basic ' + new Buffer(authentication).toString('base64'), 'Content-Type': 'text/xml; charset=utf-8' } var soapBody = new Buffer('<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:axl="http://www.cisco.com/AXL/API/11.5">' + '<soapenv:Header/>' + '<soapenv:Body>' + […]