Administration XML Developer Forums

« Back to Administration XML Questions

Cannot insert a null into column (speeddial.label). (UCM 7)

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi
 
I am working on version 7
I followed the other post related to same error on CUCM 8.0 but I am still getting the same error.
It shows error when I am not giving <label> tag but infact when I remove <dirn> tag then it shows no error but the changes are not reflected in CUCM web portal
 
here is what i have written:
 

string soap = "<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" ";
                soap += "xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">";
 
                soap += "<SOAP-ENV:Body>";
                soap += "<axl:updatePhone xmlns:axl=\"http://www.cisco.com/AXL/API/7.0\">";
                soap += "<name>";
                soap += "SEP3212";
                soap += "</name>";
                soap += "<speeddials>";
                soap += "<speeddial>";
                soap += "<dirn>";
                soap += "3212";
                soap += "</dirn>";
                soap += "<label>";
                soap += "rush";
                soap += "</label>";
                soap += "<asciiLabel>";
                soap += "7";
                soap += "</asciiLabel>";
                soap += "</speeddial>";
                soap += "</speeddials>";
                soap += "</axl:updatePhone>";
                soap += "</SOAP-ENV:Body>";
                soap += "</SOAP-ENV:Envelope>";
 
                Console.Write("getting version");
                string version = SoapVersion(soap);
                Console.Write(version);

 
Any suggestions will be quite helpful
 
Thanks
 

Hy Rusheel,

i think the index (positive integer) is missing, so the cucm didn't know where to insert the speedial

cheers Floh