Thanks to everyone who responded to this thread... FYI for those who are interested my original code worked, however I was omitting the trailing "/" from the AXL url - I was sending to <a href="https://server:8443/axl">https://server:8443/axl</a> not <a href="https://server:8443/axl/">https://server:8443/axl/</a>. Technically not any different, but if you don't put in the slash at the end the CM server just spits back the generic "use a post" error.<br>
<br>-Adam<br><br><div class="gmail_quote">On Mon, Apr 21, 2008 at 12:48 AM, Matthew J. Hughes <<a href="mailto:mattjhughes@gmail.com">mattjhughes@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>What address are you sending the AXL commands to? It changed between 4.x and 5/6. Also since v5/6 only accept HTTPS now so the old HTTP does not work. I was getting errors sending over MSXML and there is a server varible you can include to ignore errors regarding the unsigned cert. This was with ASP not .net but should be similar. Here are the important snippets, if you want the whole script i can send it.</div>
<div> </div>
<div> const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056</div>
<div>xml.setOption 2, SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS</div>
<div> </div>
<div> xml.Open "POST", "<a href="https://webserver_or_ip:8443/axl/" target="_blank">https://WEBSERVER_OR_IP:8443/axl/</a>", False, "username","password"</div>
<div> 'Add Proper Headers<br> xml.setRequestHeader "Authorization", "Basic KJDljlkasjdlkJKJLKJLKjaslkdjflkJ=="<br> xml.setRequestHeader "Content-type", "text/xml"<br> xml.setRequestHeader "POST", "8443/axl"<br>
xml.setRequestHeader "Content-length", "478" //<-- length in characters </div>
<div> </div>
<div><br><br> </div>
<div class="gmail_quote"><div><div></div><div class="Wj3C7c">On Tue, Apr 15, 2008 at 5:38 PM, Adam <<a href="mailto:cisco@adman.net" target="_blank">cisco@adman.net</a>> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"><div><div></div><div class="Wj3C7c">I have a couple of AXL applications that I wrote using VBScript for a CUCM 4.x cluster that I am currently trying to migrate to use on a 6.x cluster. For some reason the only response that I am getting from the server is "The AXL Web Service is working and accepting requests. Use HTTP POST to send a request.". I know that I am definitely doing a POST to the server and not a GET. I can change the URL back to a CM 4 cluster and everything works as expected. I thought at first it might have been a problem with the MS XML component not working correctly with HTTPS but I can POST to the 4.x server using HTTPS just fine. Has anyone done any AXL work on a 6.x server and possibly shed any light one what might be the problem?<br>
<br>Thanks,<br><font color="#888888">Adam<br></font><br></div></div><div class="Ih2E3d">_______________________________________________<br>cisco-voip mailing list<br><a href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br><br></div></blockquote></div><br>
<br>_______________________________________________<br>
cisco-voip mailing list<br>
<a href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br>
<a href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br></blockquote></div><br>