We've finally upgraded to CUCM 8 (from 4.0) so i'm plowing through the frustrating task of re-writing all my automation scripts, and i'm getting bogged down with a simple getLine....
I get a response using getLine and the extension number using 'SOAPAction= CUCM: DB ver=7.0' and the following:
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="[url=http://www.w3.org/2001/XMLSchema-instance">]http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<axl:getLine xmlns:axl="
http://www.cisco.com/AXL/7.0"
xsi:schemaLocation="
http://www.cisco.com/AXL/7.0 http://ccmserver/schema/axlsoap.xsd"
sequence="1">
<pattern>1234</pattern>
</axl:getLine>
</soapenv:Body>
</soapenv:Envelope>
I get a response using getLine and a UUID with 'SOAPAction= CUCM: DB ver=8.0' and the following:
<soapenv:Envelope xmlns:soapenv="
http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="
http://www.w3.org/2001/XMLSchema"
xmlns:xsi="[url=http://www.w3.org/2001/XMLSchema-instance">]http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<axl:getLine xmlns:axl="
http://www.cisco.com/AXL/API/8.0"
xsi:schemaLocation="
http://www.cisco.com/AXL/API/8.0 http://ccmserver/schema/axlsoap.xsd" sequence="1">
<uuid>{12345678-abcd-9012-efga-34567890abcd}</uuid>
</axl:getLine>
</soapenv:Body>
</soapenv:Envelope>
But when i send a getLine with a pattern and 'SOAPAction= CUCM: DB ver=8.0' i receive:
<?xml version='1.0' encoding='UTF-8'?>
<soapenv:Envelope xmlns:soapenv="[url=http://schemas.xmlsoap.org/soap/envelope/">]http://schemas.xmlsoap.org/soap/envelope/">
<soapenv:Body>
<soapenv:Fault>
<faultcode>soapenv:Server</faultcode>
<faultstring>Item not valid: The specified Line was not found</faultstring>
<detail>
<axlError>
<axlcode>5007</axlcode>
<axlmessage>Item not valid: The specified Line was not found</axlmessage>
<request>getLine</request>
</axlError>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
Any thoughts? i feel like i'm missing something obvious
The same script does a number of transactions that need to be using CUCM: DB ver=8.0 or they fail, so mixing and matching would mean duplicating a number of functions for ver7 & ver8 - which makes it little ugly... and of course, if i knew the UUID of the lines in question, i wouldn't need to do a getLine...