cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
957
Views
1
Helpful
4
Replies

CUCM 10 Incorrect Response from function "listUser"

ivanlo001
Level 1
Level 1

Hi,

In normal situation, "LUser" contains an element "telephoneNumber" (Lower case t)

However, starting from CUCM 10, "listUser" returns "LUser" with element "TelephoneNumber" (Capital letter T)

I suppose it is a typo of Cisco developer since the wsdl doesn't update it.

Ivan Lo

4 Replies 4

chao guo
Level 1
Level 1

Hi Lo,

I check the axlsqltoolkit of cucm 10.0  , find the listUser response of "LUser", and also find what you want like the following:

QQ鎴浘20140619153948.png

hope may help you

Hi chao guo,

That's why I want to point out that the axlsqltoolkit is wrong.

It should be

     name="TelephoneNumber"

instead of

     name="telephoneNumber"

Ivan Lo

bmennenga
Level 1
Level 1

Any response from Cisco on this?  Developers should not have to add code to check if CallManager version 10.X, then modify code to support TelephoneNumber for some functions and telephoneNumber from other functions.  This looks like a Cisco bug, one that Cisco needs to patch and fix to keep this field consistent across all functions and consistent across all versions.

wizzard344
Level 1
Level 1

https://tools.cisco.com/bugsearch/bug/CSCus72831/?referring_site=bugquickviewredir

This bug is fixed at the moment, but I have no time to order patches from reseller (I have no right to download myself), so I made a little kludge, which really works. I'm using C#.

Inside the generated by wsdl.exe "AXLAPIService.cs" find following class :

     public partial class LUser

     {

          ...

     }

Inside this class search for the property:

    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]

    public string telephoneNumber {

        get {

            return this.telephoneNumberField;

        }

        set {

            this.telephoneNumberField = value;

        }

    }

Copy paste property and change telephoneNumber to TelephoneNumber to get this:


    [System.Xml.Serialization.XmlElementAttribute(Form=System.Xml.Schema.XmlSchemaForm.Unqualified)]

    public string TelephoneNumber {

        get {

            return this.telephoneNumberField;

        }

        set {

            this.telephoneNumberField = value;

        }

    }

Keep both properties inside class and build project, this worked for me.

P.S. Use telephoneNumber for requests and TelephoneNumber for responses.

Getting Started

Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: