02-02-2016 07:37 AM
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?
Solved! Go to Solution.
02-02-2016 02:51 PM
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.
02-02-2016 02:51 PM
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.
02-03-2016 05:30 AM
Thanks for the help, issue was
http://www.cisco.com/AXL/API/1.0http://www.cisco.com/AXL/API/1.0\"
changed it to
http://www.cisco.com/AXL/API/1.0http://www.cisco.com/AXL/API/10.5\"
and it worked
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide