<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <title>CUNI Questions</title>
  <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=5334643" />
  <subtitle />
  <id>http://developer.cisco.com/c/message_boards/find_category?p_l_id=&amp;mbCategoryId=5334643</id>
  <updated>2013-05-19T06:43:48Z</updated>
  <dc:date>2013-05-19T06:43:48Z</dc:date>
  <entry>
    <title>RE: Cannot get list of subscribed resources using CUNI</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11701713" />
    <author>
      <name>tom conners</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11701713</id>
    <updated>2013-02-08T05:58:17Z</updated>
    <published>2013-02-08T05:58:17Z</published>
    <summary type="html">[quote=tom conners]I am trying to use getSubscribedResourceIdList to obtain a list of resources that are attached to a particular subscription. However, I get this error every time:
[Ljava.lang.Object; cannot be cast to [Ljava.lang.String; 
All other CUNI commands are working fine (subscribe, unsubscribe, addResourceIdToSubscription, etc). Because the error is not part of the WSDL and the presence of the &lt;soapenv:Server&gt; tag lead me to believe this is a server-side bug.  Any help would be much appreciated[/quote]
Yep, this is bug #CSCtt11530, fixed in 8.6(2) and 9.X
Apologies for not checking it before posting!</summary>
    <dc:creator>tom conners</dc:creator>
    <dc:date>2013-02-08T05:58:17Z</dc:date>
  </entry>
  <entry>
    <title>Cannot get list of subscribed resources using CUNI</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11700251" />
    <author>
      <name>tom conners</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=11700251</id>
    <updated>2013-02-08T05:56:30Z</updated>
    <published>2013-02-08T03:30:04Z</published>
    <summary type="html">I am trying to use getSubscribedResourceIdList to obtain a list of resources that are attached to a particular subscription. However, I get this error every time:
[Ljava.lang.Object; cannot be cast to [Ljava.lang.String; 
All other CUNI commands are working fine (subscribe, unsubscribe, addResourceIdToSubscription, etc). Because the error is not part of the WSDL and the presence of the &lt;soapenv:Server&gt; tag lead me to believe this is a server-side bug.  Any help would be much appreciated</summary>
    <dc:creator>tom conners</dc:creator>
    <dc:date>2013-02-08T03:30:04Z</dc:date>
  </entry>
  <entry>
    <title>RE: Parameter values in the CUNI Subscribe Web Method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8250134" />
    <author>
      <name>Anil Verma</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8250134</id>
    <updated>2012-11-02T00:21:20Z</updated>
    <published>2012-11-02T00:21:20Z</published>
    <summary type="html">There is a defect in the REST code that is affecting this. It is resolved with the 9.0(1) release.
Defect id is CSCtx42518
Defect Descriptions is -
In CUNI implementation "EventTypeList" is mandatory field, but if its provided in request XML (ALL_EVENTS, NEW_MESSAGE, UNREAD_MESSAGE, SAVED_MESSAGE etc) then subscription events will not be received. 
If EventTypeList is BLANK in request XML, the events are being received.</summary>
    <dc:creator>Anil Verma</dc:creator>
    <dc:date>2012-11-02T00:21:20Z</dc:date>
  </entry>
  <entry>
    <title>RE: Parameter values in the CUNI Subscribe Web Method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8048787" />
    <author>
      <name>David Nguyen</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=8048787</id>
    <updated>2012-10-25T23:25:40Z</updated>
    <published>2012-10-25T23:25:40Z</published>
    <summary type="html">Loyd,
 
The resourceType parameter is currently not used –
you can pass anything (or nothing) and it doesn’t matter.
David</summary>
    <dc:creator>David Nguyen</dc:creator>
    <dc:date>2012-10-25T23:25:40Z</dc:date>
  </entry>
  <entry>
    <title>RE: Parameter values in the CUNI Subscribe Web Method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7975079" />
    <author>
      <name>Loyd Vest</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7975079</id>
    <updated>2012-10-23T15:00:49Z</updated>
    <published>2012-10-23T15:00:49Z</published>
    <summary type="html">Thanks for the reply Akanksha that really helped. However, you missed the resourceType paramter. What is an acceptable Resource Type (e.g. User, Folder, etc....)? Where do I find ths list of resource types that can be sent?
Thanks,
Loyd</summary>
    <dc:creator>Loyd Vest</dc:creator>
    <dc:date>2012-10-23T15:00:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Parameter values in the CUNI Subscribe Web Method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7919296" />
    <author>
      <name>Akanksha Agarwal</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7919296</id>
    <updated>2012-10-22T07:33:57Z</updated>
    <published>2012-10-22T07:33:57Z</published>
    <summary type="html">Hi Loyd,
Please find the answers below:
A sample soap request for subscribe is:
&lt;soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:even="http://unity.cisco.com/messageeventservice/event" xmlns:even1="http://event.messageeventservice.unity.cisco.com"&gt;
   &lt;soapenv:Header/&gt;
   &lt;soapenv:Body&gt;
      &lt;even:subscribe&gt;
         &lt;even:resourceType&gt;?&lt;/even:resourceType&gt;
         &lt;even:eventTypeList&gt;
            &lt;!--Zero or more repetitions:--&gt;
            &lt;even:string&gt;?&lt;/even:string&gt;
         &lt;/even:eventTypeList&gt;
         ent
         &lt;even:callbackServiceInfo&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:callbackServiceUrl&gt;?&lt;/even1:callbackServiceUrl&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:hostname&gt;?&lt;/even1:hostname&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:password&gt;?&lt;/even1:password&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:port&gt;?&lt;/even1:port&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:protocol&gt;?&lt;/even1:protocol&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:sslCertificates&gt;
               &lt;!--Zero or more repetitions:--&gt;
               &lt;even:string&gt;?&lt;/even:string&gt;
            &lt;/even1:sslCertificates&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:sslValidateCertificate&gt;?&lt;/even1:sslValidateCertificate&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:sslValidateHostname&gt;?&lt;/even1:sslValidateHostname&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:username&gt;?&lt;/even1:username&gt;
         &lt;/even:callbackServiceInfo&gt;
         &lt;even:expiration&gt;?&lt;/even:expiration&gt;
         &lt;!--Optional:--&gt;
         &lt;even:keepAliveInterval&gt;?&lt;/even:keepAliveInterval&gt;
      &lt;/even:subscribe&gt;
   &lt;/soapenv:Body&gt;
&lt;/soapenv:Envelope&gt;
 
Various parameters:
1) &lt;even:eventTypeList&gt;
            &lt;!--Zero or more repetitions:--&gt;
            &lt;even:string&gt;X&lt;/even:string&gt;
         &lt;/even:eventTypeList&gt;
Since you want to subscribe for notification events, you need to mention that for what all events you want notifications. So the value for X could be:
NEW_MESSAGE: in case you want notification for a new message
UNREAD_MESSAGE: in case you want notification when a message is marked unread
SAVED_MESSAGE: in case you want notification when a message isbeing read
DELETED_MESSAGE: in case you want notification when a message is deleted
ALL_EVENTS: For all the above mentoned cases
 
2) &lt;even:resourceIdList&gt;
            &lt;!--Zero or more repetitions:--&gt;
            &lt;even:string&gt;akanksha&lt;/even:string&gt;
         &lt;/even:resourceIdList&gt;
This list would carry the names of all the resources(users) for whom you need notification
 
3)          &lt;even:callbackServiceInfo&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:callbackServiceUrl&gt;http://ucbu-aricent-vm268.cisco.com:7080/vmevents/msgrcv?subscriptionid=5f11dc96-8f84-4d3e-b7e0-f2871cfbaa30&lt;/even1:callbackServiceUrl&gt;
            &lt;!--Optional:--&gt;
            &lt;even1:hostname&gt;ucbu-aricent-vm268.cisco.com&lt;/even1:hostname&gt;
            &lt;even1:username&gt;test1&lt;/even1:username&gt;
         &lt;/even:callbackServiceInfo&gt;
callbackserviceurl: it means the URL where you want to recieve the notification. You can have it as per you application
Hostname: Connection hostname
Username: The one who is subscribing
4) &lt;even:expiration&gt;2012-03-04T01:22:00.0905523+04:00&lt;/even:expiration&gt;
Here you should specify the expiration date for your subscription. After the expiration date, subscription will expire.
 
5) &lt;even:keepAliveInterval&gt;0&lt;/even:keepAliveInterval&gt;
You can specify the value as per your requirement. It means that your call back URL will be pinged after this interval to check if it's alive.
 
In the response to the above request, you will recieve a subscription Id.
Please revert in case you have any further query.
 
Thanks &amp; Regards,
Akanksha A</summary>
    <dc:creator>Akanksha Agarwal</dc:creator>
    <dc:date>2012-10-22T07:33:57Z</dc:date>
  </entry>
  <entry>
    <title>RE: Parameter values in the CUNI Subscribe Web Method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7823630" />
    <author>
      <name>Loyd Vest</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7823630</id>
    <updated>2012-10-18T21:39:49Z</updated>
    <published>2012-10-18T21:39:49Z</published>
    <summary type="html">Anil,
Yes, I've been all over that web page. Unfortunately that sample is using AXIS, and I'm using JAX-WS Client. So you can't create a Subscribe object and then pass the Subscribe object to the ServicePortType.subcribe method. There is no method that is generated that takes a Subscribe object. The ServicePortType.subcribe method that is generated taked all of the parameters listed in my original post. I also created a test .NET Client just to see what it looked like in C#, and it looks the same (i.e. have to pass all of the parameters to the subscribe method).
Also, the AXIS sample is only setting the Resource ID of a Single user, and then expiration and CallbackInfo. It's not setting the ResourceType or the EventTypeList. I did see in the web page that you listed that the EventTypeList should be left empty if you want to received all events. So I can do that, but it sure would be nice to understand how to set that. 
And then finally there is no discussion anywhere that I can find about the KeepAlive parameter. What the heck is it for and how does it work?
I sure would appreciate some help here. Customer is breathing down my neck to get this going.</summary>
    <dc:creator>Loyd Vest</dc:creator>
    <dc:date>2012-10-18T21:39:49Z</dc:date>
  </entry>
  <entry>
    <title>RE: Parameter values in the CUNI Subscribe Web Method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7823306" />
    <author>
      <name>Anil Verma</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7823306</id>
    <updated>2012-10-18T21:01:48Z</updated>
    <published>2012-10-18T21:01:48Z</published>
    <summary type="html">Loyd,
Did you get a chance to look at the sample here - 
[url=http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Notification_Interface_%28CUNI%29_API_--_Subscribing_to_and_Processing_Notification_Events]http://docwiki.cisco.com/wiki/Cisco_Unity_Connection_Notification_Interface_%28CUNI%29_API_--_Subscribing_to_and_Processing_Notification_Events [/url]</summary>
    <dc:creator>Anil Verma</dc:creator>
    <dc:date>2012-10-18T21:01:48Z</dc:date>
  </entry>
  <entry>
    <title>Parameter values in the CUNI Subscribe Web Method</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7804131" />
    <author>
      <name>Loyd Vest</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=7804131</id>
    <updated>2012-10-18T15:50:47Z</updated>
    <published>2012-10-18T15:50:47Z</published>
    <summary type="html">I'm attempting to use the CUNI SOAP Web Service API to subscribe to CUC to receive message notification events. I'm finding it very difficult to determine what values should be passed in the Subscribe web method call. I have several questions around what values should be passed in the Subscribe. Specifically:

[b]resourceType [/b] type="[b]xsd:string[/b]" - What is an acceptable Resource Type (e.g. User, Folder, etc....)? Where do I find ths list of resource types that can be sent? 

[b]eventTypeList[/b] type="[b]tns:ArrayOfString[/b]"  - I'm assuming this is a list of the ShortEventTypeEnum values (i.e. All_Events). If not, what is this? 
 
[b]resourceIdList[/b] type="[b]tns:ArrayOfString[/b]" - I'm assuming that this is the list of user alias that I want to subscribe for (e.g. operator, user1, etc...). If not, what is this?

[b]callbackServiceInfo [/b]type="[b]ns1:CallbackServiceInfo[/b]" - I understand this one.  

[b]expiration[/b]" type="[b]xsd:dateTime[/b]" - I understand this one as well.

[b]keepAliveInterval[/b] type="[b]xsd:int[/b]" - I understand that this is an integer value that is used for the Keep Alive, but exactly how does the keep alive work? What is are the acceptable values? Is it in seconds or milliseconds? 

I've mentioned this before on other postings, but this is the kind of information that should be in the programmers guide.  Please get back to me as soon as possible. 

Thanks,</summary>
    <dc:creator>Loyd Vest</dc:creator>
    <dc:date>2012-10-18T15:50:47Z</dc:date>
  </entry>
  <entry>
    <title>How to login to Cisco Unity Connection Assistant Web Tool?</title>
    <link rel="alternate" href="http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5500660" />
    <author>
      <name>Pipat Tipvapee</name>
    </author>
    <id>http://developer.cisco.com/c/message_boards/find_message?p_l_id=&amp;messageId=5500660</id>
    <updated>2012-04-23T05:03:53Z</updated>
    <published>2012-04-23T04:59:12Z</published>
    <summary type="html">Ref.
[url=http://www.cisco.com/en/US/docs/voice_ip_comm/connection/7x/user/guide/assistant/7xcucugasst010.html]http://www.cisco.com/en/US/docs/voice_ip_comm/connection/7x/user/guide/assistant/7xcucugasst010.html[/url]
 
When I try to login Unity Connection Assistant Web Tool with Administration account, It show msg
"This user account does not have a mailbox and cannot sign in to the Cisco 
Personal Communications Assistant. To use the Cisco PCA, you must have an 
account with a mailbox."&lt;/td&gt;

How to create username and password to login URL https://&lt;unity_address&gt;/ciscopca
 
Thanks,</summary>
    <dc:creator>Pipat Tipvapee</dc:creator>
    <dc:date>2012-04-23T04:59:12Z</dc:date>
  </entry>
</feed>

