ā08-07-2015 03:10 AM
Hello!
I have Cisco Unified Communication Manager IM & Presence Services 10.0
I trying to manage Jabber Contact List through SOAP interface.
I use SOAP interface version 7.0 (if this is important)
I read Cookbook Developer Guide 10.5, and now I can do:
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:cisco:epas:soap">
<soap:Header>
<urn:session-key>76a7956c-065a-fb9c-becb-237295376e6f</urn:session-key>
</soap:Header>
<soap:Body>
<urn:add-contact>
<urn:group name="IT">
<urn:persona-id domain="rvsco.ru">vsmagin</urn:persona-id>
</urn:group>
</urn:add-contact>
</soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:epas="urn:cisco:epas:soap"
xmlns="urn:cisco:epas:soap">
<soapenv:Header>
<session-key>76a7956c-065a-fb9c-becb-237295376e6f</session-key>
</soapenv:Header>
<soapenv:Body>
<delete-contact>
<group name="IT">
<persona-id>imeshcheryakova</persona-id>
</group>
</delete-contact>
</soapenv:Body>
</soapenv:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:cisco:epas:soap">
<soap:Header>
<urn:session-key>$SessionKey</urn:session-key>
</soap:Header>
<soap:Body>
<urn:get-all-config>
<urn:contact-list/>
</urn:get-all-config>
</soap:Body>
</soap:Envelope>
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://www.w3.org/2003/05/soap-envelope" xmlns:urn="urn:cisco:epas:soap">
<soap:Header>
<urn:session-key>76a7956c-065a-fb9c-becb-237295376e6f</urn:session-key>
</soap:Header>
<soap:Body>
<urn:delete-group>
<urn:group name="IT"></urn:group>
</urn:delete-group>
</soap:Body>
</soap:Envelope>
But I can not delete whole group, only nested contacts in this group - after this operation group remains in Jabber Contact List as empty.
How delete empty group from Jabber Contact List?
Solved! Go to Solution.
ā08-07-2015 11:25 AM
I tried it here and it worked fine for me. I deleted all contacts in a group. When I restarted my client, the contacts and group were gone. I'm using SoapUI and EPASSoap with a 10.5.1 Cisco IM&P server. I'm using the 10.5 WSDL for EPASSoap.
This is the documentation I use: https://developer.cisco.com/fileMedia/download/a2ce9071-4c3b-4ad5-adaa-095153ea1b4c
I believe there is a later version, but not much has changed.
ā08-07-2015 08:55 AM
There is no Delete Group operation. Instead, delete all the contacts in the group, and the group should automatically be deleted after you've deleted the last contact in it. You may have to restart your Jabber client to see the change.
ā08-07-2015 09:34 AM
Unfortunately in my case it is not so.
I restarted my client Cisco Jabber 5 times, and empty group still exist in Jabber Contact List.
ā08-07-2015 11:25 AM
I tried it here and it worked fine for me. I deleted all contacts in a group. When I restarted my client, the contacts and group were gone. I'm using SoapUI and EPASSoap with a 10.5.1 Cisco IM&P server. I'm using the 10.5 WSDL for EPASSoap.
This is the documentation I use: https://developer.cisco.com/fileMedia/download/a2ce9071-4c3b-4ad5-adaa-095153ea1b4c
I believe there is a later version, but not much has changed.
ā08-09-2015 01:21 PM
Thanks you.
So I need to upgrade my CUCM IM & Presence from version 10.0 to version 10.5
ā08-07-2015 09:41 AM
Do you know, possibly manage Jabber Contact List through Informix databases from IM & Presence server?
ā08-07-2015 10:22 AM
May be you have good programming book\guide about CUCM IM & Presence?
I interesting about AXL for CUCM IM & Presence and about database Informix.
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