Cisco Cisco Customer Voice Portal 8.0(1) Developer's Guide

Page of 122
VoiceElementData – This class is used by configurable voice element classes.
LoggerAPI – This class is sent as an argument to a logger’s execution method for handling
a session-specific logging event.
XML API
When a component uses the Java API, the Session API is accessed via an object passed to the
execution method. A similar setup exists when a component uses the XML API. The entire
contents of the Session API are made available via a set of XML documents passed to the
component in the HTTP request. Each component will receive this information whether they
need it or not, since VXML Server does not know in advance what information the component
could require. The component can choose to ignore these documents if the information contained
within are not required, or use a fast, event-based parser to extract only the desired information
from the documents.
Each component receives two POST arguments containing complete XML documents
representing the Session API. The first, named inputs, lists the session information representing
the state of the application up to the point when the component was reached. The second
argument, named settings, lists the current value for the application settings.
XML Document Sent in “inputs”
The following example is the DTD diagram for the XML document sent to all components in
the inputs argument. Its DTD is defined in the file 
ElementRequest.dtd
 in the VXML Server
dtds
 folder.
Programming Guide for Cisco Unified CVP VXML Server and Cisco Unified Call Studio Release 8.0(1)
21
Chapter 3: Session API
XML API