cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1936
Views
0
Helpful
5
Replies

axl getLine problem

pg.pennone
Level 1
Level 1

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?

5 Replies 5

stephan.steiner
Spotlight
Spotlight

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.

yes, uuid is present in numplan table:

cc0bf9f8-a6ed-d4a3-58db-6177c5f3dd10

ok. I find problem.

cc0bf9f8-a6ed-d4a3-58db-6177c5f3dd10 is not the same of

CC0BF9F8-A6ED-D4A3-58DB-6177C5F3DD10.

Request is case sensitive.

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).

Can you please share the code to getLine AND updateLine()