Cisco Cisco Customer Voice Portal Downloads Developer's Guide
![Cisco](https://files.manualsbrain.com/attachments/7380d0050044647c30f5c24bbbf5d0c0b6d9bb84/common/fit/150/50/faa183d287233c52228cfea3dbc2a127fe780f60564fcb0955d9c3d1cd23/brand_logo.png)
C
HAPTER
7:
S
TANDARD
A
CTION
E
LEMENTS
C
ISCO
CVP V
OICE
XML 3.1
Programmer
Guide
Figure 7-1
The elements in this XML document are:
•
status
– Since the XML API accesses a process that exists in context separate from CVP
VoiceXML Server, there is no automatic way for an error that occurs during the creation of a
response to be caught and handled properly by the Server. This tag exists to simulate that
process by containing either the word “success” or a text message describing the error. When
anything but “success” is returned, the Server throws an exception using the content of
response to be caught and handled properly by the Server. This tag exists to simulate that
process by containing either the word “success” or a text message describing the error. When
anything but “success” is returned, the Server throws an exception using the content of
<status>
as the error message. This way, from the perspective of the Server and the
application logs, the result will be the same no matter whether the Java API or the XML API
is used. See the description for the
is used. See the description for the
<error>
tag below as there is some overlap in
functionality.
•
error
– This tag reports to CVP VoiceXML Server that an error occurred while executing the
standard action. The Server will then throw an exception whose message is contained in the
<error>
tag. This tag acts almost exactly like the
<status>
tag and was introduced later to
allow for consistency across all components. An error listed in this tag takes precedence over
an error message listed in the
an error message listed in the
<status>
tag. The
<status>
tag must still be used to indicate
that the standard action element executed without error by containing the word “success”.
Copyright 2001 - 2005 Audium Corporation. All Rights Reserved. 10/05
43