Listing Available Alerts

The alert-service-start function (AlertListXml in the SOAP API) retrieves a nodeset consisting of all existing user alerts, as shown in the following C# example:

AlertListXml alist = new AlertListXml();
XmlElement el = port.AlertListXml(alist);
if (el != null && el.ChildNodes != null)
    foreach (XmlNode node in el.ChildNodes)
    {
    }

This example illustrates a simple way of walking through all of the alerts that are returned by this function.