[cisco-voip] trying to work with AXL - Unknown Error
Michael Bray
mbray at ctiusa.com
Thu Jan 18 17:06:02 EST 2007
I'm trying my first attempt at accessing the AXL layer, but I've run
into a snag pretty quickly. I'm using the example from the Cisco AXL
programmability guide for retrieving information about a phone
(axl:getPhone), but it is generating an "Unknown Error". I've changed
the phoneName to reflect my desk phone. I'm not sure where to look to
figure out what "Unknown Error Code #1" means! :-)
Here's what I'm sending:
POST /CCMApi/AXL/V1/soapisapi.dll
Host: <<removed>>:80
Authorization: Basic <<removed>>
Accept: text/*
Content-type: text/xml
Content-length: 464
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<SOAP-ENV:Body>
<axl:getPhone xmlns:axl="http://www.cisco.com/AXL/1.0"
xsi:schemaLocation="http://www.cisco.com/AXL/1.0
http://gkar.cisco.com/schema/axlsoap.xsd" sequence="1234">
<phoneName>SEP000F236E7A41</phoneName>
</axl:getPhone>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
And here's what I get back:
HTTP/1.1 200 OK
Content-Type: text/xml
Content-Length: 693
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<SOAP-ENV:Fault>
<faultcode>SOAP-ENV:Client</faultcode>
<faultstring>
<![CDATA[Unknown error]]></faultstring>
<detail xmlns:axl="http://www.cisco.com/AXL/API/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.cisco.com/AXL/API/1.0
http://<<removed>>/CCMApi/AXL/V1/axlsoap.xsd">
<axl:error sequence="1234">
<code>1</code>
<message>
<![CDATA[Unknown error]]></message>
<request>getPhone</request>
</axl:error>
</detail>
</SOAP-ENV:Fault>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Any suggestions?
-mdb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://puck.nether.net/pipermail/cisco-voip/attachments/20070118/e71a2790/attachment-0001.html
More information about the cisco-voip
mailing list