Heads Up :
The post you are writing will appear in a public forum. Please ensure all content is appropriate for public consumption. Review the employee guidelines for the community here.
Created by: EDWARD BROWN on 12-12-2008 06:06:21 AM I am having an issue with the AXL envelope fromat for getCallManager and updateCallManager. removeCallManager works but using the same construct for getCallmanager and updateCallManager fails.
Here is a failing getCallManager request and response:
Request to AXL Server: POST /axl/ HTTP/1.0 Host: 144.10.207.211:8443 Authorization: Basic Y2NtYWRtaW46RURTYWRtaW4wMQ== Accept: text/* Content-type: text/xml SOAPAction: "CUCMB ver=6.1" Content-length: 465
----- Response from AXL Server: Is Valid=true AXLHTTPResponse Internal Error Message=null HTTP Version: 1.1 Status Code: 200 Status Reason: OK Date: Fri, 12 Dec 2008 04:00:32 GMT Content-Length: 540 SOAPAction: "CUCMB ver=6.1" Set-Cookie: JSESSIONID=F944C96A2913C3D4B474278273B4AF18; Path=/axl; Secure Connection: close Content-Type: text/xml;charset=utf-8 Server: Apache-Coyote/1.1 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>No uuid or name element found</faultstring><detail><axl:Error xmlns:axl="http://www.cisco.com/AXL/API/6.1"><axl:code>5003</axl:code><axl:message>No uuid or name element found</axl:message><request>getCallManager</request></axl:Error></detail></SOAP-ENV:Fault></SOAP-ENV:Body></SOAP-ENV:Envelope>
and a successful removeCallManager request and response:
Request to AXL Server: POST /axl/ HTTP/1.0 Host: 144.10.207.211:8443 Authorization: Basic Y2NtYWRtaW46RURTYWRtaW4wMQ== Accept: text/* Content-type: text/xml SOAPAction: "CUCMB ver=6.1" Content-length: 469
----- Response from AXL Server: Is Valid=true AXLHTTPResponse Internal Error Message=null HTTP Version: 1.1 Status Code: 200 Status Reason: OK Date: Fri, 12 Dec 2008 03:18:24 GMT Content-Length: 422 SOAPAction: "CUCMB ver=6.1" Set-Cookie: JSESSIONID=C26C6372F1FA6ED8D2DAF0AD23711391; Path=/axl; Secure Connection: close Content-Type: text/xml;charset=utf-8 Server: Apache-Coyote/1.1 <SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><axl:removeCallManagerResponse xmlns:axl="http://www.cisco.com/AXL/API/6.1" xmlns:xsi="http://www.cisco.com/AXL/API/6.1"><return>{2093C16A-B740-4416-818F-535DFB3B826E}</return></axl:removeCallManagerResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
Subject: Re: AXL UpdateCallManager Replied by: Stephan Steiner on 15-12-2008 01:01:34 PM Edward - your get syntax looks incorrect. You're using <axl:getCallManager......> <NameAndGUIDRequest><name>CM_test9Server1</name></NameAndGUIDRequest></axl:getCallManager>
and it should be <axl:getCallManager....> <name>CM_test9Server1</name></axl:getCallManager>
Check the schema when in doubt.. you either use <name>..</name> or <uuid></uuid> for that operation and there are no other parameters.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: