Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Voicetools » java in voicexml
java in voicexml [message #14127] Wed, 31 May 2006 08:03 Go to next message
Eclipse UserFriend
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 #14163 is a reply to message #14127] Thu, 01 June 2006 00:21 Go to previous messageGo to next message
Mike Greenawalt is currently offline Mike GreenawaltFriend
Messages: 50
Registered: July 2009
Member
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

--

"loiy Ababneh" <la1@informatik.uni-ulm.de> wrote in message
news:3fd3e6ed438f8e68150a14751f62f38c$1@www.eclipse.org...
>
>
> 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 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #574798 is a reply to message #14127] Thu, 01 June 2006 00:21 Go to previous messageGo to next message
Mike Greenawalt is currently offline Mike GreenawaltFriend
Messages: 50
Registered: July 2009
Member
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

--

"loiy Ababneh" <la1@informatik.uni-ulm.de> wrote in message
news:3fd3e6ed438f8e68150a14751f62f38c$1@www.eclipse.org...
>
>
> 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 #574938 is a reply to message #14163] Tue, 20 June 2006 20:46 Go to previous messageGo to next message
Eclipse UserFriend
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 Go to previous messageGo to next message
Eclipse UserFriend
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 #634515 is a reply to message #574798] Fri, 22 October 2010 04:15 Go to previous message
loiy is currently offline loiyFriend
Messages: 1
Registered: July 2009
Junior Member
Mike Greenawalt wrote on Wed, 31 May 2006 20:21
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

--

"loiy Ababneh" <la1@informatik.uni-ulm.de> wrote in message
news:3fd3e6ed438f8e68150a14751f62f38c$1@www.eclipse.org...
>
>
> 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
>
>
>
>
>

Previous Topic:Cannot run the "Getting Started" example
Next Topic:java
Goto Forum:
  


Current Time: Thu Mar 28 22:37:28 GMT 2024

Powered by FUDForum. Page generated in 0.03588 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top