How Tos
Last reviewed: 3/4/2013
Article ID: H031307
HOW: Validating and testing VoiceXML with VoiceXMLKit
The information in this article applies to:
- VoiceXMLKit
Summary
End users typically interact with VoiceXML applications running on servers over a phone connection.
VoiceXMLKit provides tools developing and testing VoiceXML applications offline before the VoiceXML documents are deployed to servers.
More Information
The VoiceXMLKit conversation management component is designed to provide you a lot of flexiblity and minimize the programming necessary to validate and interpret VoiceXML.
To run a VoiceXML application, use the OpenSession method to create a session, then simply use RunDocument method to interpret the VoiceXML document. For example:
// Validate a VoiceXML document NChantXM1.CompileDocument("mydocument.vxml");
To run a validate a VoiceXML document use the CompileDocument method. For example:
// Open session _SessionID = NChantXM1.OpenSession(); // Interpret the document NChantXM1.RunDocument(_SessionID, "mydocument.vxml");
To stop the VoiceXML application, simply use the CloseSession method. For example:
// Close session when CCXMDone event fires NChantXM1.CloseSession(_SessionID);
Within Chant Developer Workbench, open the VoiceXML document and select the Compile Document menu item or press the toolbar button to validate the document.
To test the document with Chant Developer Workbench, select the Run Document menu itme or press the toolbar button to invoke the VoiceXMLKit interpreter.
For additional help with VoiceXMLKit, contact Chant Support via or web.