05-27-2008 04:12 AM - edited 03-13-2019 05:17 PM
hi, i send this axl to CM 6.1 as in CM 4.2
<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/">
<SOAP-ENV:Body>
<ns4072:getLine xmlns:ns4072="http://www.cisco.com/AXL/API/1.0">
<uuid xsi:type="xsd:string">CC0BF9F8-A6ED-D4A3-58DB-6177C5F3DD10</uuid>
</ns4072:getLine>
</SOAP-ENV:Body>
</SOAP-ENV:Envelope>
but i received an error 5007:
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Header/><SOAP-ENV:Body><SOAP-ENV:Fault><faultcode>SOAP-ENV:Client</faultcode><faultstring>Item not valid: The specified Line was not found</faultstring><detail><axl:Error xmlns:axl="http://www.cisco.com/AXL/API/1.0">
<axl:code>5007</axl:code><axl:message>Item not valid: The specified Line was not found</axl:message><request>getLine</request></axl:Error></detail></SOAP-ENV:Fault>
</SOAP-ENV:Body></SOAP-ENV:Envelope>
how is changed the request in CM6? and the definition of uuid?
05-27-2008 06:23 AM
you'r ns4072 prefix bothers me a bit.
But are you sure the uuid is the same? The error message clearly states there's no such DN so I'd be looking at that (search the line in ccmadmin and note its uuid).. or look up the uuid (the field is called pkid in the database) from the numplan table.. if there's no entry, the line definitely does not exist.
05-27-2008 11:56 PM
yes, uuid is present in numplan table:
05-28-2008 12:56 AM
ok. I find problem.
cc0bf9f8-a6ed-d4a3-58db-6177c5f3dd10 is not the same of
CC0BF9F8-A6ED-D4A3-58DB-6177C5F3DD10.
Request is case sensitive.
05-28-2008 01:18 AM
Hehe.. yes that's the thing with Linux. Plus, all table names are now all lowercase so if you were doing the correct thing in CCM4 and wrote table and field names to match the notation in the database, you can go over your sql queries again when you move up to ccm5 or higher.
On the plus side, it's a one time deal .. there's no change between ccm5 and ccm6 (and I suspect ccm7 either).
05-05-2020 12:38 AM
Can you please share the code to getLine AND updateLine()
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide