This content has been marked as final. Show 5 replies
The forms are synchronous by it's nature. So there in no out of the box way to make forms act asynchronously. One way though it would be to write your own java bean (being asynchronous) to call out the web service. This way you can kind of simulate asynchronous web service call which would allow you to continue to work in your forms session synchronously. In you example call another form. But there is a catch here as soon as the java bean had to communicate with forms session there could be a problem as the form which initially called web service is not active. So you should plan and test this scenario carefully.
You could also try to use integration with AQ feature in Forms 11g. This way the communication with web service had to be done inside database. Those are just some ideas but the real implementation depends on your needs.
Thanks for your reply and your points !
Are there any other ways apart from using Java beans in forms 10g to point to other forms or menu when one form is validating tax numbers from online webservice?
If no, please provide us some examples of Java beans URL Links from which we can achieve open other forms when one form is in execution.
Thanks and Best Regards
In case you do not wish for the form to wait for a given web-service to return something, then, the form should launch a job in the database that would query the web-service, and then, on a when-timer-expired in the form check if that job has finished running. So, the user may be moving within the form while the job is running in the database, the main problem being how to transmitt data from the job to the form. Maybe via a database table. Or possibly using the facilities of dbms_pipe.