lua is by far the best approach. I really don't know about accessing web services, but for db it is perfect.
I wrote a whole wholesale and calling card app with lua, so you can pretty much do anything wit it.

Also, lua has a SOAP interface:

http://tomasguisasola.github.com/luasoap/

Good luck!


David


On Thu, Feb 21, 2013 at 7:24 AM, Mimiko <vbvbrj@gmail.com> wrote:
On 21.02.2013 02:02, JP wrote:
> Hi,
> I want to access a webservice that exposes a SOAP interface. I was
> wondering if this is better to do in Lua or in Java. Any suggestions
> will be greatly appreciated. Also in general is it better to use
> mod-java instead of mod-lua for doing advanced IVR functions like
> database access or web service access? Are there any drawbacks to using
> java instead of Lua?
>
> Thanks,
> JP

I had a conversation with a member on this list about what to use for
scripting: lua, perl. java. Ended up that lua is the fastest in its own.
For doing simple things, even IVR's, lua is enough. And lua is installed
with FS.

I use lua to connect to DB and don't see any performance drop.

--
Mimiko desu.

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting@freeswitch.org
http://www.freeswitchsolutions.com

FreeSWITCH-powered IP PBX: The CudaTel Communication Server
http://www.cudatel.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://wiki.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org