W3C home > Mailing lists > Public > www-voice@w3.org > October to December 2001

RE: database reading through voiceXML

From: Liang Shen <liang@voicegenie.com>
Date: Wed, 31 Oct 2001 10:32:03 -0500
Message-Id: <>
To: "LAVALLEE,LIONEL (HP-PaloAlto,ex1)" <lionel_lavallee@hp.com>, "'Liang Shen'" <liang@voicegenie.com>, Nitin_Khungar <Nitin_Khungar@satyam.com>, Shridhar Damle <shridhar@cgclogic.com>, www-voice@w3.org

I agree with your point. But my point is that a return trip to servlet/JSP 
via <submit>/<goto> is not the only
option. Within a trusted deployment environment, <script>/<object> can be 
used for that purpose if required.



At 10:22 AM 10/31/2001, LAVALLEE,LIONEL (HP-PaloAlto,ex1) wrote:
>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.
>-----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.
>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]
>>Sent: Wednesday, October 31, 2001 6:33 PM
>>To: www-voice@w3.org
>>Subject: database reading through voiceXML
>>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.
>>Your account balance is <dbread table='account' field='balance'/>
>>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.
>Liang Shen
>VoiceGenie Technologies Inc.


Liang Shen
VoiceGenie Technologies Inc.
Received on Wednesday, 31 October 2001 10:32:43 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:07:35 UTC