<div>Hi,</div>
<div>&nbsp;</div>
<div>It looks like you are&nbsp;already using&nbsp;HTTPS... and&nbsp;overriding the errors that the object will throw due to the cert problem.</div>
<div>&nbsp;</div>
<div>First thing is I think your URL is wrong&nbsp;- should be...</div>
<div><a href="javascript:newWin(&#39;https://&#39;)"><font color="#003399"><a href="https://callmanagerIP/CCMApi/AXL/V1/soapisapi.dll">https://</a></font></a>callmanagerIP/CCMApi/AXL/V1/soapisapi.dll <br>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</div>
<div>Cheers,</div>
<div>&nbsp;</div>
<div>Tim.<br><br>&nbsp;</div>
<div><span class="gmail_quote">On 8/4/08, <b class="gmail_sendername">Philip Walenta</b> &lt;<a href="mailto:pwalenta@wi.rr.com">pwalenta@wi.rr.com</a>&gt; 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>&nbsp;</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>&nbsp;</div>
<div dir="ltr" align="left"><span><font face="Arial" color="#0000ff" size="2">I&#39;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>&nbsp;</div>
<div><span class="e" id="q_11b8d5f71f4b5482_1">
<div></div>
<div>
<div>
<p>Hello all,</p>
<p>&nbsp;</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>&nbsp;</p>
<p>This is what I have so far but cannot get it to work at all.</p>
<p>&nbsp;</p>
<p><span style="FONT-SIZE: 8pt">&#39;Build the SOAP payload</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = &quot;&lt;SOAP-ENV:Envelope xmlns:SOAP-ENV=&quot; &amp; chr(34) &amp; &quot;<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>&quot; &amp; chr(34)</span></p>

<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;xmlns:xsi=&quot; &amp; chr(34) &amp; &quot;<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>&quot; &amp; chr(34) </span></p>

<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;xmlns:xsd=&quot; &amp; chr(34) &amp; &quot;<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>&quot; &amp; chr(34) &amp; &quot;&gt;&quot; &amp; vbcrlf</span></p>

<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;&lt;SOAP-ENV:Body&gt;&quot; &amp; vbcrlf</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;&lt;axl:getPhone xmlns:axl=&quot; &amp; chr(34) &amp; &quot;<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>&quot; &amp; chr(34) &amp; &quot; &quot;</span></p>

<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;xsi:schemaLocation=&quot; &amp; chr(34) &amp; &quot;<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>&quot; &amp; chr(34) &amp; &quot;sequence=&quot; &amp; chr(34) &amp; &quot;1234&quot; &amp; chr(34) &amp; &quot;&gt;&quot;</span></p>

<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;&lt;phoneName&gt;SEP222222222245&lt;/phoneName&gt;&quot;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;xmlsoap = xmlsoap &amp; &quot;&lt;/axl:getPhone&gt;&quot; &amp; vbcrlf</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;&lt;/SOAP-ENV:Body&gt;&quot; &amp; vbcrlf</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlsoap = xmlsoap &amp; &quot;&lt;/SOAP-ENV:Envelope&gt;&quot;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; msgbox xmlsoap</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; dim xmlhttp </span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set xmlhttp = server.Createobject(&quot;MSXML2.ServerXMLHTTP&quot;)</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &#39;replace localhost with the server you would like to post to</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; const SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS = 13056</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.setOption 2, SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.Open &quot;POST&quot;,&quot;<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>&quot;,false</span></p>

<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.setRequestHeader &quot;Authorization&quot;, &quot;Basic &quot; &amp; Base64Encode(&quot;CCMAdmin:ca11manager&quot;)</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.setRequestHeader &quot;Content-type&quot;, &quot;text/xml&quot;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.setRequestHeader &quot;POST&quot;, &quot;8443/axl&quot;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp; &nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.setRequestHeader &quot;Content-length&quot;, len(xmlsoap) //&lt;-- length in characters</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.send xmlsoap</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;</span></p>
<p><span style="FONT-SIZE: 8pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; xmlhttp.responsexml.xml</span></p>
<p>&nbsp;</p>
<p>Thanks</p>
<p>&nbsp;</p>
<p>&nbsp;</p></div></div>
<div>&nbsp;</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>