cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
653
Views
5
Helpful
2
Replies

Update <imAndPresence> <homeCluster> and <serviceProfile> not working

m.batts
Level 4
Level 4

hi ,

I have tried to update via AXL the fields above on CUCM 10.5(1)SU1a and 10.5(2)SU1

here is an example of what I am sending

<SOAP-ENV:Envelope xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\">
            <SOAP-ENV:Body>

<axl:updateUser xmlns:axl=\"http://www.cisco.com/AXL/API/1.0\"  sequence=\"1\">
            <userid>test5</userid>
   <homeCluster>t</homeCluster>

<imAndPresenceEnable>t</imAndPresenceEnable>

<serviceProfile>UC Service Profile</serviceProfile>

<associatedDevices>CSFtest5</associatedDevices>
</axl:updateUser>
   

            </SOAP-ENV:Body>

</SOAP-ENV:Envelope>

Interesting the associated Devices bit works but nothing else and I don't get an error message either.Anyone tried this?

1 Accepted Solution

Accepted Solutions

dstaudt
Cisco Employee
Cisco Employee

I am able to update all three fields successfully on  my 10.5(1) (base) system:

POST https://ds-ucm105.cisco.com:8443/axl/ HTTP/1.1

Accept-Encoding: gzip,deflate

Content-Type: text/xml;charset=UTF-8

SOAPAction: "CUCM:DB ver=10.5 updateUser"

Content-Length: 438

Host: ds-ucm105.cisco.com:8443

Connection: Keep-Alive

User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ=

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">

   <soapenv:Header/>

   <soapenv:Body>

      <ns:updateUser>

         <userid>labuser1</userid>

         <homeCluster>false</homeCluster>

         <imAndPresenceEnable>false</imAndPresenceEnable>

        <serviceProfile>Test UC Service Profile2</serviceProfile>

       </ns:updateUser>

   </soapenv:Body>

</soapenv:Envelope>

----------------------

...

      <homeCluster>true</homeCluster>
      <imAndPresenceEnable>false</imAndPresenceEnable>
      <serviceProfile uuid="{38B265DF-7D0F-72FD-0F91-5961D493634C}">Test UC Service Profile2</serviceProfile>

...

I did run across this message during testing, though, FYI:

ImAndPresenceEnable cannot be true if homeCluster is false

If you are still having problems updating the fields with a similar request, I would suggest opening a ticket with DevNet developer support for further investigation of the detailed system logs.

Cisco DevNet: Support

View solution in original post

2 Replies 2

dstaudt
Cisco Employee
Cisco Employee

I am able to update all three fields successfully on  my 10.5(1) (base) system:

POST https://ds-ucm105.cisco.com:8443/axl/ HTTP/1.1

Accept-Encoding: gzip,deflate

Content-Type: text/xml;charset=UTF-8

SOAPAction: "CUCM:DB ver=10.5 updateUser"

Content-Length: 438

Host: ds-ucm105.cisco.com:8443

Connection: Keep-Alive

User-Agent: Apache-HttpClient/4.1.1 (java 1.5)

Authorization: Basic QWRtaW5pc3RyYXRvcjpjaXNjb3BzZHQ=

<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ns="http://www.cisco.com/AXL/API/10.5">

   <soapenv:Header/>

   <soapenv:Body>

      <ns:updateUser>

         <userid>labuser1</userid>

         <homeCluster>false</homeCluster>

         <imAndPresenceEnable>false</imAndPresenceEnable>

        <serviceProfile>Test UC Service Profile2</serviceProfile>

       </ns:updateUser>

   </soapenv:Body>

</soapenv:Envelope>

----------------------

...

      <homeCluster>true</homeCluster>
      <imAndPresenceEnable>false</imAndPresenceEnable>
      <serviceProfile uuid="{38B265DF-7D0F-72FD-0F91-5961D493634C}">Test UC Service Profile2</serviceProfile>

...

I did run across this message during testing, though, FYI:

ImAndPresenceEnable cannot be true if homeCluster is false

If you are still having problems updating the fields with a similar request, I would suggest opening a ticket with DevNet developer support for further investigation of the detailed system logs.

Cisco DevNet: Support