<!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><server:8443>/realtimeservice/SOAPMonitor<br>
<br>
2) check your code against the WSDL for CM6.x. I believe some of the
SOAPActions may have changed.<br>
<br>
Perl summary for AXL Serviceability:<br>
...<br>
$xmlstatus = <<XMLStatus;<br>
<?xml version="1.0" encoding="utf-8"?><br>
<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>><br>
<soapenv:Body><br>
<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>><br>
<StateInfo xsi:type="xsd:string"/><br>
<CmSelectionCriteria><br>
<MaxReturnedDevices
xsi:type="xsd:unsignedInt">200</MaxReturnedDevices><br>
<Class xsi:type="xsd:string">Phone</Class><br>
<Model xsi:type="xsd:unsignedInt">255</Model><br>
<Status xsi:type="xsd:string">Registered</Status><br>
<NodeName xsi:type="xsd:string" xsi:nil="true"/><br>
<SelectBy xsi:type="xsd:string">Name</SelectBy><br>
<SelectItems><br>
<Item xsi:type="xsd:string">$devname</Item><br>
</SelectItems><br>
</CmSelectionCriteria><br>
</ns1:SelectCmDevice><br>
</soapenv:Body><br>
</soapenv:Envelope><br>
XMLStatus<br>
...<br>
# prepare AXL Serviceability request<br>
$reqstatus = HTTP::Request->new(POST =>
'<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->content_type('text/xml; charset=utf-8');<br>
$reqstatus->header("SOAPAction" =>
'<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->content($xmlstatus);<br>
...<br>
<br>
Perl summary for AXL:<br>
...<br>
# define AXL reset message<br>
$xmlreset = <<XMLReset;<br>
<?xml version="1.0" encoding="utf-8"?><br>
<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>> <br>
<SOAP-ENV:Body><br>
<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"> <br>
<deviceName>$devname</deviceName><br>
<isHardReset>true</isHardReset><br>
</axl:doDeviceReset><br>
</SOAP-ENV:Body><br>
</SOAP-ENV:Envelope><br>
XMLReset<br>
...<br>
# prepare AXL request<br>
$reqreset = HTTP::Request->new(POST =>
'<a class="moz-txt-link-freetext" href="https://10.154.1.212:8443/axl/">https://10.154.1.212:8443/axl/</a>');<br>
$reqreset->content_type('text/xml');<br>
$reqreset->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>