This document was generated from CDN thread
Created by: Janine Graves on 10-10-2008 04:57:09 PM
2 Questions on Studio Subdialog Invoke:
1) I was under the impression that I could pass java objects in a Studio Subdialog Invoke, where I'm invoking a local Studio app as a subdialog.
However, when I tried this, I received a Java Cast exception when I tried to cast the received session data.
So, can the subdialog receive an object or am I doing something wrong?
2) If my main application, starts right off with a Subdialog Invoke, without first executing a voice element, I get an error. Can you explain why this is so? Is it a timing issue or something about needing to generate the first VXML page. (I tested this in a CVP Standalone system)
Thanks
Subject: Re: Studio Subdialog Invoke
Replied by: Ranjana Narayan on 14-10-2008 06:09:23 AM
Hi Janine,
1)Based on the http logs, I believe that Subdialog Invoke element passes the params as Strings, so you wouldn't be able to pass other java objects across applications(remote or local).
2)Again, based on the logs, I notice that if it were local subdialog invoke, the server tries to retain the same JSessionId of the calling application while invoking the subdialog, since there hasn't been any first VXML page generated and no JSessionID exists, the execution fails. (Retaining of the session Id allows the server to use just one license against two).
But this is not the case for remote subdialog invoke.
Hope this helps,
Ranjana