cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
7037
Views
7
Helpful
15
Replies

Questions about UDS API

tro000001
Level 1
Level 1

Hello,

I'm working as a consultant on a project where we use the UDS API.

I'm working with C# .NET and visual studio.

I have downloaded the xml schemas found here:

https://developer.cisco.com/site/collaboration/management/user-data-services/develop-and-test/schemas/

The problem is that the response we get from the server does not seem to match the schema.

Here is an example xml response when calling user get...

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>

<user version="9.1.1" uri="https://xxx:8443/cucm-uds/user/xxx">

  <userName>xxx</userName>

  <firstName>xxx</firstName>

  <lastName>xxx</lastName>

  <middleName/>

  <nickName/>

  <phoneNumber>xxx</phoneNumber>

  <homeNumber>xxx</homeNumber>

  <mobileNumber>xxx</mobileNumber>

  <mobileConnect>true</mobileConnect>

  <userLocale>xxx</userLocale>

  <email>xxx</email>

  <msUri>xxx</msUri>

  <department>xxx</department>

  <manager>xxx</manager>

  <title>xxx</title>

  <pager>xxx</pager>

  <useLdapAuth>true</useLdapAuth>

  <directoryUri exist="true">xxx</directoryUri>

  <callerFilters uri="https://xxx:8443/cucm-uds/user/xxx/callerFilters"/>

  <contactAssociations uri="https://10.159.1.40:8443/cucm-uds/user/xxx/contactAssociations"/>

  <contacts uri="https://xxx:8443/cucm-uds/user/xxx/contacts"/>

  <credentials uri="https://xxx:8443/cucm-uds/user/xxx/credentials"/>

  <devices uri="https://xxx:8443/cucm-uds/user/xxx/devices"/>

  <notifications uri="https://xxx:8443/cucm-uds/user/xxx/notifications"/>

  <numbers uri="https://xxx:8443/cucm-uds/user/xxx/numbers"/>

  <phoneLanguage uri="https://xxx:8443/cucm-uds/user/xxx/phoneLanguage"/>

  <profiles uri="https://xxx:8443/cucm-uds/user/xxx/profiles"/>

  <remoteDestinations uri="https://xxx:8443/cucm-uds/user/xxx/remoteDestinations"/>

</user>

It does not seem to match: "user.get.xsd"

Is it a version conflict ? is there a way to get the corresponding schema version to the current installation on the server ?

Best Regards.

Torben Rohde

15 Replies 15

Thank all for your responses. I used to use a partial UDS for searching since version 9.0.x, but manually create java files. Now I just want to create java files from UDS schema so that I can get most features that UDS support; however, I cannot use schema version 11.0 for Jabber server 9.0.x (look likes it's not backwards compatible). I will update my old manual java files to use for old Jabber version though.

Again, thank you for all valuable information.

-Phuong