Skip to Main Content

Oracle Forms

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Need sample to call a REST API from Oracle 12c forms

User_5XLR8Oct 24 2021 — edited Oct 24 2021

Hi, can someone plz share their knowledge on how I can call a REST api from Oracle form using PJC through a java program and pass the value back to Form application and display in its text box? If you can share code sample for something simple like calling Time Of Day REST call, it would help. Thx in advance.

Comments

Timo Hahn

Arun, tell us your jdev version, please!

I guess it will only work for full pages, meaning the alert has to be defined the jsf page.

You can compare the html which is generated from the jsf page the fragment. You may spot a difference which you can then eliminate by e.g. putting the applet into a panelformlayout.

Timo

Arun T

Hi Timo, thanks for your reply.

We are using 12.1.3 JDev and as a workaround i am calling the jsf button from an jsff button. From the jsf button the applet is created in bean dynamically, not in the page. It works fine

I will compare the source generated and get back on this.

Thanks

- Arun

1 - 2

Post Details

Added on Oct 24 2021
2 comments
3,069 views