How To Display BI Publisher Report From Oracle Forms Without Re-Authentication By Xmlpserver (Doc ID 2172769.1)

Last updated on AUGUST 23, 2016

Applies to:

Oracle Forms - Version 12.2.1.1.0 and later
Information in this document applies to any platform.

Goal

Integrating Bi Publisher with Oracle Forms 12c (12.2.1.1.0).
Have successfully run a BI Publisher report using the following pl/sql block as an example from Oracle Forms.

DECLARE
 repid REPORT_OBJECT;
 report_prop VARCHAR2(20);
 v_xmlpserver varchar2(100);
 v_rep varchar2(100);
 
BEGIN
v_xmlpserver := 'http://hostname:9502/xmlpserver';

repid := find_report_object ('REPORT10');

SET_REPORT_OBJECT_PROPERTY (repid, BIP_USER , 'username');
SET_REPORT_OBJECT_PROPERTY (repid, BIP_PASSWORD , 'password');
SET_REPORT_OBJECT_PROPERTY (repid, BIP_SSL_CONNECTION , OPTIONAL);
SET_REPORT_OBJECT_PROPERTY (repid, BIP_SERVICE_LOCATION , v_xmlpserver || '/services/v2/ReportService?wsdl');
SET_REPORT_OBJECT_PROPERTY (repid, BIP_REPORT_PATH , '/folder/Pivot Report.xdo' ) ;
SET_REPORT_OBJECT_PROPERTY (repid, BIP_REPORT_LOCALE , 'EN-us');
SET_REPORT_OBJECT_PROPERTY (repid, BIP_REPORT_FORMAT , 'pdf');
SET_REPORT_OBJECT_PROPERTY (repid, BIP_REPORT_TEMPLATE , 'Pivot word temp 2');

v_rep := RUN_REPORT_OBJECT (repid);
END;

Would like to display the generated pdf file without re-authenticating by xmlpserver. 
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms