java in voicexml [message #14127] |
Wed, 31 May 2006 08:03 |
Eclipse User |
|
|
|
Originally posted by: la1.informatik.uni-ulm.de
Hallo very one ,
i want to use java in VoiceXML tool can i do that , for example
?xml version="1.0" encoding="ISO-8859-1"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<var name="hi" expr="'Hello World!'"/>
<form id="say_hi">
<block>
<prompt><value expr="hi"/></prompt>
<goto next="#say_goodbye"/>
</block>
</form>
<form id="say_goodbye">
<block>
Goodbye!
</block>
< !----------------------------------------------------------- -------- >
somthing in java
to have values from database
< !----------------------------------------------------------- ------- >
</form>
</vxml>
if one can do that Pl. one examlpe
loiy
|
|
|
|
Re: java in voicexml [message #14216 is a reply to message #14163] |
Tue, 20 June 2006 20:46 |
Eclipse User |
|
|
|
Originally posted by: paul.rubenstein.glenayre.com
Hi Loiy,
What you are probably looking for is something like a JSP. You will need
a webserver (such as tomcat) to execute the JSP. You can then produce
something like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<var name="hi" expr="'Hello World!'"/>
<form id="say_hi">
<block>
<prompt><value expr="hi"/></prompt>
<goto next="#say_goodbye"/>
</block>
</form>
<form id="say_goodbye">
<block>
<prompt>
<%
// JAVA Scriptlet
System.out.println("Goodbye!");
%>
</prompt>
</block>
</form>
</vxml>
On Wed, 31 May 2006 17:21:10 -0700, Mike Greenawalt wrote:
> Sorry, no. VoiceXML scripting and scope and variable semantics is firmly
> specified on ECMAScript. See the VoiceXML specification
> (http://www.w3.org/TR/voicexml20/#dml5).
>
> You can use the <data> tag or some other construct to interact with a
> Java-implemented external application that can deliver results to the
> VoiceXML application. But you cannot embed Java code inside the VoiceXML.
>
> -- Mike Greenawalt
|
|
|
Re: java in voicexml [message #17446 is a reply to message #14216] |
Wed, 07 February 2007 14:36 |
Eclipse User |
|
|
|
Originally posted by: avtpuser.gmail.com
Hi Paul,
Is there a mechanism to achieve something similar to your response (JSP),
using VTP-GUI?
I am using the VTP Preview build.
Thanks
"paul rubenstein" <paul.rubenstein@glenayre.com> wrote in message
news:pan.2006.06.20.20.46.03.865345@glenayre.com...
> Hi Loiy,
>
> What you are probably looking for is something like a JSP. You will need
> a webserver (such as tomcat) to execute the JSP. You can then produce
> something like:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
> <var name="hi" expr="'Hello World!'"/>
> <form id="say_hi">
> <block>
> <prompt><value expr="hi"/></prompt>
> <goto next="#say_goodbye"/>
> </block>
> </form>
>
> <form id="say_goodbye">
> <block>
> <prompt>
> <%
> // JAVA Scriptlet
> System.out.println("Goodbye!");
> %>
> </prompt>
> </block>
> </form>
> </vxml>
>
>
> On Wed, 31 May 2006 17:21:10 -0700, Mike Greenawalt wrote:
>
>> Sorry, no. VoiceXML scripting and scope and variable semantics is firmly
>> specified on ECMAScript. See the VoiceXML specification
>> (http://www.w3.org/TR/voicexml20/#dml5).
>>
>> You can use the <data> tag or some other construct to interact with a
>> Java-implemented external application that can deliver results to the
>> VoiceXML application. But you cannot embed Java code inside the VoiceXML.
>>
>> -- Mike Greenawalt
>
|
|
|
|
Re: java in voicexml [message #574938 is a reply to message #14163] |
Tue, 20 June 2006 20:46 |
Eclipse User |
|
|
|
Originally posted by: paul.rubenstein.glenayre.com
Hi Loiy,
What you are probably looking for is something like a JSP. You will need
a webserver (such as tomcat) to execute the JSP. You can then produce
something like:
<?xml version="1.0" encoding="ISO-8859-1"?>
<vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
<var name="hi" expr="'Hello World!'"/>
<form id="say_hi">
<block>
<prompt><value expr="hi"/></prompt>
<goto next="#say_goodbye"/>
</block>
</form>
<form id="say_goodbye">
<block>
<prompt>
<%
// JAVA Scriptlet
System.out.println("Goodbye!");
%>
</prompt>
</block>
</form>
</vxml>
On Wed, 31 May 2006 17:21:10 -0700, Mike Greenawalt wrote:
> Sorry, no. VoiceXML scripting and scope and variable semantics is firmly
> specified on ECMAScript. See the VoiceXML specification
> (http://www.w3.org/TR/voicexml20/#dml5).
>
> You can use the <data> tag or some other construct to interact with a
> Java-implemented external application that can deliver results to the
> VoiceXML application. But you cannot embed Java code inside the VoiceXML.
>
> -- Mike Greenawalt
|
|
|
Re: java in voicexml [message #576111 is a reply to message #14216] |
Wed, 07 February 2007 14:36 |
Eclipse User |
|
|
|
Originally posted by: avtpuser.gmail.com
Hi Paul,
Is there a mechanism to achieve something similar to your response (JSP),
using VTP-GUI?
I am using the VTP Preview build.
Thanks
"paul rubenstein" <paul.rubenstein@glenayre.com> wrote in message
news:pan.2006.06.20.20.46.03.865345@glenayre.com...
> Hi Loiy,
>
> What you are probably looking for is something like a JSP. You will need
> a webserver (such as tomcat) to execute the JSP. You can then produce
> something like:
>
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <vxml version="2.0" xmlns="http://www.w3.org/2001/vxml">
> <var name="hi" expr="'Hello World!'"/>
> <form id="say_hi">
> <block>
> <prompt><value expr="hi"/></prompt>
> <goto next="#say_goodbye"/>
> </block>
> </form>
>
> <form id="say_goodbye">
> <block>
> <prompt>
> <%
> // JAVA Scriptlet
> System.out.println("Goodbye!");
> %>
> </prompt>
> </block>
> </form>
> </vxml>
>
>
> On Wed, 31 May 2006 17:21:10 -0700, Mike Greenawalt wrote:
>
>> Sorry, no. VoiceXML scripting and scope and variable semantics is firmly
>> specified on ECMAScript. See the VoiceXML specification
>> (http://www.w3.org/TR/voicexml20/#dml5).
>>
>> You can use the <data> tag or some other construct to interact with a
>> Java-implemented external application that can deliver results to the
>> VoiceXML application. But you cannot embed Java code inside the VoiceXML.
>>
>> -- Mike Greenawalt
>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03588 seconds