1 Reply Latest reply on May 16, 2019 12:57 PM by Michael Ferrante-Oracle

    Unable to read Javascript tag data using utl_http


      Hi All,


      From forms 11g i am accessing an URL using UTL_HTTP and reading the response URL and it works perfectly but when i have JAVASCRIPT tag in my URL i am unable to read the data present inside javascript tag.

      in this case I need to get the response "Decliend: Your Payment has been declined" text using UTL_HTTP.html_pieces. How to achieve this ?




        • 1. Re: Unable to read Javascript tag data using utl_http
          Michael Ferrante-Oracle

          What you need to understand is that ALL pl/sql is executed on the middle tier.  None of your application code is executed on the client.  The actual client to the database (for Forms) is the middle tier.  The user is not actually the "client".  This is probably part of your problem.  If not yet, it likely will be once your fully deploy your code and test from a remote machine.


          It is unclear exactly what you are doing.  If you are trying to interact with a web page from a Forms application, use Java Script integration.  You will need to be on at least in order to do this successfully.  Information on how to do this can be found in the Forms Deployment Guide.


          That said, you should really consider upgrading to a Supported Forms version.