<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
A couple pointers:<br>
<br>
1) use the AXL SOAP monitor on CM6. this shows all transactions and
responses serviced by the AXL service:<br>
url:<br>
<a class="moz-txt-link-freetext" href="https://">https://</a>&lt;server:8443&gt;/realtimeservice/SOAPMonitor<br>
<br>
2) check your code against the WSDL for CM6.x.&nbsp; I believe some of the
SOAPActions may have changed.<br>
<br>
Perl summary for AXL Serviceability:<br>
...<br>
$xmlstatus = &lt;&lt;XMLStatus;<br>
&lt;?xml version="1.0" encoding="utf-8"?&gt;<br>
&lt;soapenv:Envelope
xmlns:soapenv=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>
xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema">"http://www.w3.org/2001/XMLSchema"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2001/XMLSchema-instance">"http://www.w3.org/2001/XMLSchema-instance"</a>&gt;<br>
&nbsp; &lt;soapenv:Body&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;ns1:SelectCmDevice
soapenv:encodingStyle=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/encoding/">"http://schemas.xmlsoap.org/soap/encoding/"</a>
xmlns:ns1=<a class="moz-txt-link-rfc2396E" href="http://schemas.cisco.com/ast/soap/">"http://schemas.cisco.com/ast/soap/"</a>&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;StateInfo xsi:type="xsd:string"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;CmSelectionCriteria&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;MaxReturnedDevices
xsi:type="xsd:unsignedInt"&gt;200&lt;/MaxReturnedDevices&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Class xsi:type="xsd:string"&gt;Phone&lt;/Class&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Model xsi:type="xsd:unsignedInt"&gt;255&lt;/Model&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Status xsi:type="xsd:string"&gt;Registered&lt;/Status&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;NodeName xsi:type="xsd:string" xsi:nil="true"/&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SelectBy xsi:type="xsd:string"&gt;Name&lt;/SelectBy&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;SelectItems&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;Item xsi:type="xsd:string"&gt;$devname&lt;/Item&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/SelectItems&gt;<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/CmSelectionCriteria&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/ns1:SelectCmDevice&gt;<br>
&nbsp; &lt;/soapenv:Body&gt;<br>
&lt;/soapenv:Envelope&gt;<br>
XMLStatus<br>
...<br>
# prepare AXL Serviceability request<br>
$reqstatus = HTTP::Request-&gt;new(POST =&gt;
'<a class="moz-txt-link-freetext" href="https://10.154.1.212:8443/realtimeservice/services/RisPort">https://10.154.1.212:8443/realtimeservice/services/RisPort</a>');<br>
$reqstatus-&gt;content_type('text/xml; charset=utf-8');<br>
$reqstatus-&gt;header("SOAPAction" =&gt;
'<a class="moz-txt-link-freetext" href="http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevices">http://schemas.cisco.com/ast/soap/action/#RisPort#SelectCmDevices</a>');<br>
$reqstatus-&gt;content($xmlstatus);<br>
...<br>
<br>
Perl summary for AXL:<br>
...<br>
# define AXL reset message<br>
$xmlreset = &lt;&lt;XMLReset;<br>
&lt;?xml version="1.0" encoding="utf-8"?&gt;<br>
&lt;SOAP-ENV:Envelope
xmlns:SOAP-ENV=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/XMLSchema-instance">"http://www.w3.org/1999/XMLSchema-instance"</a>
xmlns:xsd=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/XMLSchema">"http://www.w3.org/1999/XMLSchema"</a>&gt; <br>
&nbsp;&nbsp;&nbsp; &lt;SOAP-ENV:Body&gt;<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;axl:doDeviceReset xmlns:axl=<a class="moz-txt-link-rfc2396E" href="http://www.cisco.com/AXL/1.0">"http://www.cisco.com/AXL/1.0"</a>
xmlns:xsi=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/2000/10/XMLSchema-instance">"http://www.w3.org/2000/10/XMLSchema-instance"</a>
xsi:schemaLocation=<a class="moz-txt-link-rfc2396E" href="http://www.cisco.com/AXL/1.0http://gkar.cisco.com/schema/axlsoap.xsd">"http://www.cisco.com/AXL/1.0
http://gkar.cisco.com/schema/axlsoap.xsd"</a> sequence="1234"&gt;&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;deviceName&gt;$devname&lt;/deviceName&gt;<br>
&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &lt;isHardReset&gt;true&lt;/isHardReset&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/axl:doDeviceReset&gt;<br>
&nbsp;&nbsp;&nbsp; &lt;/SOAP-ENV:Body&gt;<br>
&lt;/SOAP-ENV:Envelope&gt;<br>
XMLReset<br>
...<br>
# prepare AXL request<br>
$reqreset = HTTP::Request-&gt;new(POST =&gt;
'<a class="moz-txt-link-freetext" href="https://10.154.1.212:8443/axl/">https://10.154.1.212:8443/axl/</a>');<br>
$reqreset-&gt;content_type('text/xml');<br>
$reqreset-&gt;content($xmlreset);<br>
...<br>
<br>
<br>
/Wes<br>
<br>
<br>
Adam wrote:
<blockquote
 cite="mid:c6f32ce40804151738x7f514fb2t233350aca00ed5fd@mail.gmail.com"
 type="cite">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>
Adam<br>
  <pre wrap="">
<hr size="4" width="90%">
_______________________________________________
cisco-voip mailing list
<a class="moz-txt-link-abbreviated" href="mailto:cisco-voip@puck.nether.net">cisco-voip@puck.nether.net</a>
<a class="moz-txt-link-freetext" href="https://puck.nether.net/mailman/listinfo/cisco-voip">https://puck.nether.net/mailman/listinfo/cisco-voip</a>
  </pre>
</blockquote>
</body>
</html>