I have created ApplicationModule in Model project of FusionWebApplication. The ApplicationModule is statefull and is successfully used in adf web page (defined in ViewController project).
I have configured ADF Security over Fusion Web Application, so WebService cannot be accessed without providing security credentials os SessionCookie.
In ViewController project I have created WebServicee base od POJO class. Inside its implementation method I want to access data via ApplicationModule.
This can be done by writing this code: ApplicationModule am = Configuration.createRootApplicationModule("com.oracle.apps.hr.personnel.HiringModule", "HiringModuleLocal");
I have configured ADF Security over Fusion Web Application, so WebService cannot be accessed without providing security credentials os SessionCookie (I cannot access webservice with SessionCookie if it is defined in Model, so creating web service from ApplicationModule is out of option).
Now my question is: I have read that ADF WebPage finds appropriate ApplicationModule of some user via DataBinding layer by SessionCookie. Is it possible to somehow simulate this way programatically - to somehow tell Configuration class to find/Create ApplicationModule via SessionCookie?
Currently I am using Soap webservice, but we are planning to use REST the same way - define access point in ViewController and invoke ApplicationModule via Configuration class.
Thnaks for help!