Update Phones BLF Fields CUCM 7.x

Version 1
    This document was generated from CDN thread

    Created by: Andreas Muenstermann on 23-02-2010 02:24:18 PM
    Hi *,
     
    I want to update a phones BLF buttons on a CUCM 7.0 . With the "updatePhone"-command and the "busyLampFields"-Parameter one should be able to add or update BLFs. This worked in an CUCM 6.0 environment well, but after an update to 7.0 I now get the Exception:
     
    javax.xml.ws.soap.SOAPFaultException: No blfDirn found
     
    Even though I can generate the updatePhone-command with the generated Axis WebService Client Stub, I get the exception.

    Subject: RE: Update Phones BLF Fields CUCM 7.x
    Replied by: Herman Voet on 23-02-2010 05:54:59 PM
    Hi,
     
    I've exactly the same problem but I solved today. I don't know it is the way to do but it works.
    I either don't know why it fails so if somebody can explain. I was using blfDest. blfDirn in combination
    with partition works fine. blfDest doesn't/
     
    What I've done:
    in the AXLSoap.xsd look for:
     
     <xsd:complexType name="XBusyLampField">
      <xsd:sequence>
       <xsd:choice>
        <xsd:sequence>
         <xsd:element name="blfDirn" type="axlapi:XDirectoryNumber" minOccurs="0"/>
         <xsd:element name="routePartition" type="xsd:string" minOccurs="0"/>
        </xsd:sequence>
        <xsd:element name="blfDest" type="axlapi:String255"/>    
       </xsd:choice>
     
    and replace the blfDest as follows:
     
     <xsd:complexType name="XBusyLampField">
      <xsd:sequence>
       <xsd:choice>
        <xsd:element name="blfDest" type="axlapi:String255"/>
        <xsd:sequence>
         <xsd:element name="blfDirn" type="axlapi:XDirectoryNumber" minOccurs="0"/>
         <xsd:element name="routePartition" type="xsd:string" minOccurs="0"/>
        </xsd:sequence>
        
       </xsd:choice>
     
    I've also changed blfDest to String255 instead of integer else my leading zero's will dissapear because an integer can't start with 0.
     
    After those changes it works perfect at my side.
     
    Somebody who can explain why it occurs?
     
    Thanks & please inform us if it works.

    Subject: RE: Update Phones BLF Fields CUCM 7.x
    Replied by: Florian Kroessbacher on 01-03-2010 07:39:38 PM
    Are there any other fixes to do, beside this one.
    Can you send me a list of fixes
     
    thanxs