|
Re: Webservice call in openVXML [message #578967 is a reply to message #578939] |
Wed, 03 February 2010 02:05 |
Randy Childers Messages: 121 Registered: July 2009 |
Senior Member |
|
|
Hi Rachit--
You can actually use any class normally available to you in Java while
in the script block (it's using Mozilla's Rhino engine). The trick is,
you have to explicitly declare the class name. For example, to use the
date object:
var d = new java.util.Date();
Log.info('date: ' + d);
Note that, unlike in Java, the script block does not by default import
java.lang.* classes; you can still use the String object, for example,
you just have to change how it's declared.
Good luck,
Randy
In <hk8p4t$sii$1@build.eclipse.org> rachit gupta wrote:
> Hi All,
>
> I am developing IVR application in which i have to integrate
> webservices, can any one tell me how to integrate the java code in
> script module (plz give a example) , we have java code which calls web
> service but when integrated with vxml code , openVXML does not parse
> it.
>
>
> Someone plz help !
>
|
|
|
Powered by
FUDForum. Page generated in 0.03062 seconds