Problem:
The problem is happened when I call AXL SOAP to craete Force Authorization Code, it always return "unknown error". here is the AXL format that I send:
<?xml version="1.0"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soap:Header/>
<soap:Body>
<addFacInfo sequence="?">
<facInfo>
<name>Computer Login - Full Name</name>
<code>123456</code>
<authorizationLevel>40</authorizationLevel>
</facInfo>
</addFacInfo>
</soap:Body>
</soap:Envelope>
Solution:
Typically, a AXL request would include header that at least contains
Authorization: Basic Q0NNQWRtaW5pc3RyYXRvcjpjaXNjb19jaXNjbw==
SOAPAction: "CUCM:DB ver=9.1"
Making sure the soapaction version matches the wsdl version in the soap envelope.
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/9.1">
Since you are in CUCM 9.1, I believe you can use from 7.0 up to 9.1
Comments
0 comments
Please sign in to leave a comment.