Cisco Cisco Customer Voice Portal Downloads Guía Del Desarrollador
C
HAPTER
2:
C
ISCO
CVP
V
OICE
XML
API Introduction
C
ISCO
CVP V
OICE
XML 3.1
Programmer
Guide
•
child4 contains any number of its child tags in any order. It would be a syntax error to not
include any child tags at all since at least one is required.
include any child tags at all since at least one is required.
•
The order in which the child tags of parent must conform to the diagram. If child4, for
example, appeared before the child1 tag, that would be a syntax error.
example, appeared before the child1 tag, that would be a syntax error.
Deployment
It is up to the developer to set up the environment necessary to support the requests made by
CVP VoiceXML Server. Since the API is accessed over HTTP, the XML content must be served
by a web or application server. This content could potentially be served on the same machine as
CVP VoiceXML Server though the act of parsing XML and the details of using HTTP will add
additional overhead to the performance of the Server. To get the best performance, the setup
should consist of a separate system handing the requests on the same subnet as the machine on
which the Server is installed. Maintaining the two systems on the same subnet will reduce any
network overhead as well as allow the administrator to restrict communication to occur only
within the same subnet.
CVP VoiceXML Server. Since the API is accessed over HTTP, the XML content must be served
by a web or application server. This content could potentially be served on the same machine as
CVP VoiceXML Server though the act of parsing XML and the details of using HTTP will add
additional overhead to the performance of the Server. To get the best performance, the setup
should consist of a separate system handing the requests on the same subnet as the machine on
which the Server is installed. Maintaining the two systems on the same subnet will reduce any
network overhead as well as allow the administrator to restrict communication to occur only
within the same subnet.
Keep in mind that unlike Java, changes made to components using the XML API are not
graceful. Components using the Java API are deployed on top of CVP VoiceXML Server and
therefore take advantage of the graceful nature of the Server administration activity, while
components using the XML API are hosted on separate systems. Any changes made to system
that would affect the XML sent as response to the Server requests would be available
immediately. The administrator must ensure that maintenance activity be performed on both
systems to ensure callers do not experience changes within a single phone call. A recommended
method for handling updates to applications using components using the XML API is to suspend
the application before changes are made to the server hosting the XML.
graceful. Components using the Java API are deployed on top of CVP VoiceXML Server and
therefore take advantage of the graceful nature of the Server administration activity, while
components using the XML API are hosted on separate systems. Any changes made to system
that would affect the XML sent as response to the Server requests would be available
immediately. The administrator must ensure that maintenance activity be performed on both
systems to ensure callers do not experience changes within a single phone call. A recommended
method for handling updates to applications using components using the XML API is to suspend
the application before changes are made to the server hosting the XML.
Copyright 2001 - 2005 Audium Corporation. All Rights Reserved. 10/05
18