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: <5.1.0.14.0.20011031102823.065610c8@205.150.90.87>
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
Lionel,

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.

Cheers,

Liang

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.
>
>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]
>>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

Cheers,

Liang Shen
VoiceGenie Technologies Inc.
http://www.voicegenie.com
Received on Wednesday, 31 October 2001 10:32:43 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 30 October 2006 12:48:54 GMT