- From: LAVALLEE,LIONEL (HP-PaloAlto,ex1) <lionel_lavallee@hp.com>
- Date: Wed, 31 Oct 2001 07:22:03 -0800
- To: "'Liang Shen'" <liang@voicegenie.com>, Nitin_Khungar <Nitin_Khungar@satyam.com>, Shridhar Damle <shridhar@cgclogic.com>, www-voice@w3.org
- Message-ID: <079FD72E42C9D311B854009027650E6F08326B38@xatl02.atl.hp.com>
This is very misleading. You need to remember that these elements are dependent on how they are implemented in the interpreter. Utilizing the <object> tag still means that there would be a necessity to create the class which would access the database. You're also forgetting that in most cases this is going to be a distributed system with the vxml pages being fetched by the gateway on the OTHER side of a firewall. I seriously doubt your approach would work in the real world. Better to utilize <submit> with a servlet or JSP on the application server side. There are no shortcuts to this. As mentioned earlier, exceptions, rollbacks, etc. need to be properly handled. This can only be done as server side code. Lionel -----Original Message----- From: Liang Shen [mailto:liang@voicegenie.com] Sent: Wednesday, October 31, 2001 7:02 AM To: Nitin_Khungar; Shridhar Damle; www-voice@w3.org Subject: RE: database reading through voiceXML Not necessary, Nitin and Shridhar, you can use either <script> or <object> for database access. Cheers, Liang At 08:26 AM 10/31/2001, Nitin_Khungar wrote: Hi Shridhar, According to my knowledge there are no tags in VXML for database acess. Customized tags are not possible as VXML as such is a XML schema. For database access you will have to call asp or jsp pages and dynamically create vxml pages. Thanks and Regards. Nitin Khungar -----Original Message----- From: Shridhar Damle [ mailto:shridhar@cgclogic.com <mailto:shridhar@cgclogic.com> ] Sent: Wednesday, October 31, 2001 6:33 PM To: www-voice@w3.org Subject: database reading through voiceXML Hi, Are there any tags in voiceXML that can make program read data from database by generating the queries dynamically? If yes then what are those tags? If no then is it possible to have customized tags (say "dbread") in voiceXML? viz. <prompt> Your account balance is <dbread table='account' field='balance'/> </prompt> Is this feasible? OR we have to always submit to next asp or jsp or whatever and generate the vxml with account balance information dynamically? If it is feasible then... do the vxml interpreters available today can support customizable tags? Like if a custom tag is found the interpreter should hand over the control to the application to take necessary actions. Regards, Shridhar -------------------------------------------------------------- CG-CORE EL LOGIC SYSTEMS LTD, PUNE, INDIA Cheers, Liang Shen VoiceGenie Technologies Inc. http://www.voicegenie.com <http://www.voicegenie.com/>
Received on Wednesday, 31 October 2001 10:22:32 UTC