01-22-2008 10:06 AM - edited 03-13-2019 04:54 PM
Hi,
i m tring to get getphone-data from my ccm6.0 with a axl call.
here is what i have, which is a example out of the toolkit, i guess its old, so it doesnt work with my ccm6.0
xmlhttp.Open("POST", "http://" + ccmserver + "/CCMApi/AXL/V1/soapisapi.dll", false);
xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
xmlhttp.setRequestHeader("Content-type", "text/xml");
xmlhttp.Send(xmlDoc);
can anyone help me and share the correct lines for this request?
thanks
01-24-2008 03:01 AM
Hi.
Since CCM 5.0 you should user a POST request to https://
01-24-2008 03:40 AM
yeah.. my java programm with the soap call, which works fine, is using
i tryied it in my jva-script, but its not working, i also tried https, but in both cases i dont even get an entry in the trace files..:-((
here is what i use in my java programm
sAXLSOAPRequest = "POST /axl/ HTTP/1.0\r\n";
sAXLSOAPRequest += "xxxxxxxxx:8443\r\n";
sAXLSOAPRequest += "Authorization: Basic " + authorization + "\r\n";
sAXLSOAPRequest += "Accept: text/*\r\n";
sAXLSOAPRequest += "Content-type: text/xml\r\n";
sAXLSOAPRequest += "SOAPAction: \"CUCM:DB ver=6.0\"\r\n";
sAXLSOAPRequest += "Content-length: ";
and in my java-script i tryied..
xmlhttp.Open("POST", "http://" + ccmserver + "/AXL/", false);
xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
xmlhttp.setRequestHeader("Content-type", "text/xml");
xmlhttp.Send(xmlDoc);
but with no success..:-((
can anybody help?
thanks
01-24-2008 07:46 AM
Try using the port 8443 after the server's ip address and the https as the protocol:
xmlhttp.Open("POST", "https://" + ccmserver + ":8443/AXL/", false);
What response did you receive from axl?
01-25-2008 10:42 AM
hi,
i dont get any answer, there isnt even an entry in the trace files, if i try https i get an xml error...:-((
01-25-2008 10:46 AM
this is what i tried now... without any changes..
xmlhttp.Open("POST", "http://myserver:8443/AXL/ HTTP/1.0", false);
xmlhttp.setRequestHeader("Authorization", "Basic " + authstring);
xmlhttp.setRequestHeader("Accept", "text/*");
xmlhttp.setRequestHeader("SOAPAction", "CUCM:DB ver=6.0");
xmlhttp.setRequestHeader("Content-type", "text/xml");
xmlhttp.Send(xmlDoc);
any ideas??
02-27-2008 02:32 AM
Did you success your request ?
I'm trying to do the same in C#, but no success.
02-27-2008 06:33 AM
i switch from asp to jsp....
there i can implement my java application and handle the certificats and the https stuff...
03-20-2008 08:32 AM
Has anyone gotten this to work with C# yet? I'm trying to do the same thing, posting to "http://" + ccmserver + "/CCMApi/AXL/V1/soapisapi.dll"
What is the correct path?
Is it all SSL now, as some of the previous posts seem to indicate?
Is there a AXL test page similar to the one in call manager express?
Thanks for any help,
Brian
03-25-2008 07:06 AM
No there's no AXL test page. however, you mention the URL to be used for callmanager 4.. in a thread about callmanager 6. Do you see where this confuses people?
The first thing you need to be sure about is which CCM version.
Next, the code you're using to send the request, and then the error message you get.
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