05-26-2012 02:28 AM - edited 03-16-2019 11:21 AM
Hi team,
I am working on getting AXL automation to work with CME 9.0. I have done the required configuration in CME as per http://www.cisco.com/en/US/docs/voice_ip_comm/cucme/admin/configuration/guide/cmeapi.html. However, I could not get the required documentation/examples for CME AXL/SOAP API in Perl/Python/Java. Could you please let me know the CME AXL/SOAP API in any one of these languages and also the elements involved in writing an AXL script? Could you help me with an example of retrieving data from CME using AXL API from a Perl/Java/Python script?
Basically, I have read that the following is the format of HTTP and SOAP requests. I would like to know how to programmatically send this request to the CME and the URL to which this needs to be sent. Do we need a WSDL file for this?
POST /ISApi/AXL/V1/soapisapi.is
Host: server-w2k:80
Accept: text/xml
Authorization: Basic Q2lzY287VHJpdmVauQ==
Content-type: text/xml
Content-length: 0
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsi="http://www.w3.org/19992000/10/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/1999/XMLSchema">
<SOAP-ENV:Body>
<axl xsi:type="request"
xmlns="http://www.cisco.com/AXL/1.0"
xsi:schemaLocation="http://www.cisco.com/AXL/1.0
http://gkar.cisco.com/schemaxml/xml/axlsoap.xsd">
<request xsi:type=”ISgetExtEvts”>
<ISExtNumber>1234</ISExtNumber>
</request>
</axl>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
Regards,
Swati
05-27-2012 09:06 AM
I don-t think that cisco has to provide examples in any specific programming language. That your responsability to write.
05-27-2012 01:57 PM
Yeah... I'd agree - if you have some code to offer post it up and someone may be able to advise you.
Better still - there are forums at developer.cisco.com that specialise in this.
If you have no code...
Aaron
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide