I have tried to get the EDU fields without dynamically creating those VDU names (just like the GUI does in the generated code). With a few tweaks to your code i am able to get my Java Servlet to be executing properly. But my code for assigning to a simple variable is not working. As i would like to assign and output the variables i fetch from the EDU Server.
Also I have previously tried the following for dynamically creating the VDU fields:
#1 - Startup code uses this. I doubt that this would have worked unless it added to the complex variable.
variable = com.avaya.sce.runtime.ComplexVariable.createComplexVariable(IProjectVariables.VDU, variableFields, "com.avaya.sce.runtime.connectivity.ic.pdc.VDUVariableFactory", mySession, false, true );
#2 - Trying to get the Complex Variable and then add into it more fields.
com.avaya.sce.runtimecommon.IVariable.setCollection(ICollection arg0)
#3 - Similar to Item #2.
com.avaya.sce.runtimecommon.ICollection.append(String arg0, IRuntimeSession arg1)
#4
variable = myVDUVariableFactory.createVariable(IProjectVariables.VDU, variableFields, variableFields, mySession);
Unfortunately, all the above has failed. Are you able to provide a doc or correct what i have to steer me in the correct direction?
Thanks!
|