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

Version 1
    This document was generated from CDN thread

    Created by: Rusheel Jain on 07-11-2012 07:12:22 AM
    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
     

    Subject: RE: Cannot insert a null into column (speeddial.label). (UCM 7)
    Replied by: Florian Kroessbacher on 07-11-2012 12:39:04 PM
    Hy Rusheel,

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

    cheers Floh