<div>Hi,</div>
<div> </div>
<div>It looks like you are already using HTTPS... and overriding the errors that the object will throw due to the cert problem.</div>
<div> </div>
<div>First thing is I think your URL is wrong - should be...</div>
<div><a href="javascript:newWin('https://')"><font color="#003399"><a href="https://callmanagerIP/CCMApi/AXL/V1/soapisapi.dll">https://</a></font></a>callmanagerIP/CCMApi/AXL/V1/soapisapi.dll <br> </div>
<div>You could still get a cert problem, you might try opening the URL, and accepting the cert in the browser first to test.</div>
<div> </div>
<div>From there.. go check your IIS logs </div>
<div>Then from there go to your trace files and check the axl logs.</div>
<div> </div>
<div>Also, I found this easier with .net, there is a better class to use for the request, I think it is HTTPWebRequest.</div>
<div> </div>
<div>Cheers,</div>
<div> </div>
<div>Tim.<br><br> </div>
<div><span class="gmail_quote">On 8/4/08, <b class="gmail_sendername">Philip Walenta</b> <<a href="mailto:pwalenta@wi.rr.com">pwalenta@wi.rr.com</a>> wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">If memory serves SOAP/AXL on 4.2 and higher requires using https and you need do have the CUCM certificate on the machine doing the transaction.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">This means your authorization method settings need to be changed.</font></span></div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2"></font></span> </div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">I've attached some Java code I wrote a few years ago that should help.</font></span></div><br>
<div lang="en-us" dir="ltr" align="left">
<hr>
<font face="Tahoma" size="2"><b>From:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a> [mailto:<a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip-bounces@puck.nether.net" target="_blank">cisco-voip-bounces@puck.nether.net</a>] <b>On Behalf Of </b>Granger, Simon<br>
<b>Sent:</b> Monday, August 04, 2008 5:39 AM<br><b>To:</b> <a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip@puck.nether.net" target="_blank">cisco-voip@puck.nether.net</a><br><b>Subject:</b> [cisco-voip] AXL VB Examples<br>
</font><br> </div>
<div><span class="e" id="q_11b8d5f71f4b5482_1">
<div></div>
<div>
<div>
<p>Hello all,</p>
<p> </p>
<p>I was wondering if anyone had any VB examples of AXL coding they can send me. </p>
<p>I have seen that there has been talk on the site before, but am struggling to get anything to work..</p>
<p> </p>
<p>This is what I have so far but cannot get it to work at all.</p>
<p> </p>
<p><span style="FONT-SIZE: 8pt">'Build the SOAP payload</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=" & chr(34) & "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://schemas.xmlsoap.org/soap/envelope/" target="_blank">http://schemas.xmlsoap.org/soap/envelope/</a>" & chr(34)</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "xmlns:xsi=" & chr(34) & "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/2001/XMLSchema-instance" target="_blank">http://www.w3.org/2001/XMLSchema-instance</a>" & chr(34) </span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "xmlns:xsd=" & chr(34) & "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.w3.org/2001/XMLSchema" target="_blank">http://www.w3.org/2001/XMLSchema</a>" & chr(34) & ">" & vbcrlf</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "<SOAP-ENV:Body>" & vbcrlf</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "<axl:getPhone xmlns:axl=" & chr(34) & "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cisco.com/AXL/1.0" target="_blank">http://www.cisco.com/AXL/1.0</a>" & chr(34) & " "</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "xsi:schemaLocation=" & chr(34) & "<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.cisco.com/AXL/1.0" target="_blank">http://www.cisco.com/AXL/1.0</a> <a onclick="return top.js.OpenExtLink(window,event,this)" href="http://10.216.4.11/schema/axlsoap.xsd" target="_blank">http://10.216.4.11/schema/axlsoap.xsd</a>" & chr(34) & "sequence=" & chr(34) & "1234" & chr(34) & ">"</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "<phoneName>SEP222222222245</phoneName>"</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "</axl:getPhone>" & vbcrlf</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "</SOAP-ENV:Body>" & vbcrlf</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlsoap = xmlsoap & "</SOAP-ENV:Envelope>"</span></p>
<p><span style="FONT-SIZE: 8pt"> </span></p>
<p><span style="FONT-SIZE: 8pt"> </span></p>
<p><span style="FONT-SIZE: 8pt"> msgbox xmlsoap</span></p>
<p><span style="FONT-SIZE: 8pt"> </span></p>
<p><span style="FONT-SIZE: 8pt"> </span></p>
<p><span style="FONT-SIZE: 8pt"> dim xmlhttp </span></p>
<p><span style="FONT-SIZE: 8pt"> set xmlhttp = server.Createobject("MSXML2.ServerXMLHTTP")</span></p>
<p><span style="FONT-SIZE: 8pt"> 'replace localhost with the server you would like to post to</span></p>
<p><span style="FONT-SIZE: 8pt"> </span></p>
<p><span style="FONT-SIZE: 8pt"> const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.setOption 2, SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.Open "POST","<a onclick="return top.js.OpenExtLink(window,event,this)" href="http://10.216.4.11:8443/axl/" target="_blank">http://10.216.4.11:8443/axl/</a>",false</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.setRequestHeader "Authorization", "Basic " & Base64Encode("CCMAdmin:ca11manager")</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.setRequestHeader "Content-type", "text/xml"</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.setRequestHeader "POST", "8443/axl"</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.setRequestHeader "Content-length", len(xmlsoap) //<-- length in characters</span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.send xmlsoap</span></p>
<p><span style="FONT-SIZE: 8pt"> </span></p>
<p><span style="FONT-SIZE: 8pt"> xmlhttp.responsexml.xml</span></p>
<p> </p>
<p>Thanks</p>
<p> </p>
<p> </p></div></div>
<div> </div>
<div>
<p style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><font color="gray">Registered No. 755780 England</font></span></p>
<p style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><font color="gray">Registered Office: FM Insurance Company Limited</font></span></p>
<p style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><font color="gray">1 Windsor Dials, Windsor,</font></span></p>
<p style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"></span><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><font color="gray">Berkshire, UK, SL4 1RS</font></span></p>
<p style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><font color="gray">Regulated by the Financial Services Authority.</font></span></p>
<p style="MARGIN: 0in 0in 0pt"><span lang="EN-GB" style="FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Arial"><font color="gray">VAT No. G.B.: 792 4276 02</font></span></p></div></span></div></div><br>_______________________________________________<br>
cisco-voip mailing list<br><a onclick="return top.js.OpenExtLink(window,event,this)" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a><br><a onclick="return top.js.OpenExtLink(window,event,this)" href="https://puck.nether.net/mailman/listinfo/cisco-voip" target="_blank">https://puck.nether.net/mailman/listinfo/cisco-voip</a><br>
<br><br clear="all"></blockquote></div><br>