/mcpC H A P T E R 3 Cisco Unity Connection Notification Interface (CUNI) API -- Subscribing to and Processing Notification Events • Subscribing to Notification Events , on page 5 • Processing Notification Events , on page 6 Subscribing to Notification Events Subscribing to notification events is done through the web service interface, and can be as simple as a single web service call to "subscribe". At a minimum you should pass in: • The callback URL where XML notifications will be posted by the Notifier. • The date/time when the subscription will expire It is also possible to pass in a list of the resources (userid) that you are interested in receiving events for, although that can also be done via a subsequent call to "addResourceIdToSubscription". We recommend that you leave the eventTypeList empty, indicating that you would like to receive all types of message events. This example shows making a call to subscribe in Java, using Axis2 stubs generated from the WSDL: Cisco Unity Connection Notification Interface (CUNI) API 5
