Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Secure Web.Show_Document() calls to Oracle Reports

Status
Not open for further replies.

tharmaaravinthan

Programmer
Jul 4, 2007
1
0
0
CA
I have added a Java Bean container to Oracle Form and changed "Implementation Class" property to "Oracle.reports.Utility.FrmreportsInteg".
----Set Form code to create encrypted cookie
set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_LOGOUTPUT','true');
---set userid in encrypted cookie before calling
--web.show_document
set_custom_property('CONTROL.USERID_BEAN',1,'ADD_USERID',
get_application_property(username)||'/'||
get_application_property(password)||'@'||
get_application_property(connect_string));
----Write the cookie
set_custom_property('CONTROL.USERID_BEAN',1,'WRITE_USERID_COOKIE','9i');

WEB.SHOW_DOCUMENT('RT_NAME=RPT_STU_ACTIVE_ENROLMENT&P_FROM_GRADE=6&p_home_base_ind=N&P_WEB_IND=0&p_
edu_institution_id=263&p_region_id=28&p_school_division_id=91&P_TO_GRADE=6&p_tim
eperiod=136&USERID=','_blank');

still asking for connecting string.

jinitiator console show this log message:
java.lang.ClassNotFoundException: "oracle/reports/utility/FrmReportsInteg"

at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Unknown Source)
.........................
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top