Voice over IP Cisco - trying to work with AXL - Unknown Error

This is Interesting: Free IT Magazines  
Home > Archive > Voice over IP Cisco > January 2007 > trying to work with AXL - Unknown Error





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author trying to work with AXL - Unknown Error
Michael Bray

2007-01-18, 7:11 pm

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




Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com