Home » Developer & Programmer » Forms » secure web.show_document()
secure web.show_document() [message #456961] Thu, 20 May 2010 08:03 Go to next message
mahajneh
Messages: 16
Registered: May 2010
Junior Member
hello everybody
am trying to use secure call to reports from forms using the
frmrwinteg.jar javabean.

when i set the implementation class of the javabean area
i still have the error FRM-13008 can't find javabean with name..,but i ignore it as i read at the whitepaper
downloaded from OTN. and follow all instructions
add to java directory,, add to formsweb,, add parameter to basejini.htm

each time i call the report i have been asked to connect and
when i run the form my username and password are written to the consol and i still can see them at the html code when call parameter form, my code is
DECLARE

rep_url varchar2(2000);

BEGIN

rep_url:='http://office_server:8889/reports/rwservlet?server=repserver10&report=d:\mm-J.JSP
&desformat=htmlcss&destype=CACHE&paramform=yes&userid=';


set_custom_property('block3.userid_bean',1,'WRITE_LOGOUTPUT','true');

set_custom_property('block3.userid_bean',1,'ADD_USERID',
get_application_property(username)||'/'||
get_application_property(password)||'@'||
get_application_property(connect_string));

set_custom_property('block3.userid_bean',1,'SET_COOKIE_PATH','/reports/TEST/');
set_custom_property('block3.userid_bean',1,'SET_COOKIE_DOMAIN',''''||'office_server'||'''');
set_custom_property('block3.userid_bean',1,'WRITE_USERID_COOKIE','10g');
synchronize;  <----from metalink
WEB.SHOW_DOCUMENT(rep_url,'_blank');
END;


and this is what is written to the consol
FrmReportsInteg1: Debugging true

FrmReportsInteg1: Adding new userid string "xx/xx@xxxxx"

FrmReportsInteg1: ADD_REPORTS_CONNECT: xx/xx@xxxxx
FrmReportsInteg1: Setting cookie path to /reports/TEST/

FrmReportsInteg1: Setting domain to 'office_server'

FrmReportsInteg1: Domain provided is not empty and is evaluated right now

FrmReportsInteg1: First period found at -1

FrmReportsInteg1: Provided domain String is invalid valid. String syntax misses periods like in ".oracle.com"

FrmReportsInteg1: Default cookie domain: 

FrmReportsInteg1: set RW_AUTH10g

FrmReportsInteg1: Arguments: encryptionKey=reports9i; Reports version=RW10g

FrmReportsInteg1: Cookie value for RW10g is: INSCOM/INSCOM@nicmain;1274363989721:30

FrmReportsInteg1: Encoded cookie  value is: aFPubPJeSGnwN9lr4ZfZ017kJwXpvqSmwh+ntf8ha4Ya44Xqb+k=

FrmReportsInteg1: Complete cookie string is: userid=aFPubPJeSGnwN9lr4ZfZ017kJwXpvqSmwh+ntf8ha4Ya44Xqb+k=

FrmReportsInteg1: Generated Cookie String: userid=aFPubPJeSGnwN9lr4ZfZ017kJwXpvqSmwh+ntf8ha4Ya44Xqb+k=; path=/reports/TEST/

FrmReportsInteg1: IE Cookie Set



i DON'T KNOW WHERE IS THE ERROR THAT MAKE THIS NOT WORK.
any help please???
Re: secure web.show_document() [message #456971 is a reply to message #456961] Thu, 20 May 2010 08:52 Go to previous message
gregor
Messages: 86
Registered: March 2010
Location: Germany
Member
Hi,
the cause of
"FRM-13008 can't find javabean with name" can be:
- Wrong Name in the item_property-sheet for "Implementationclass"
- CLASSPATH is not correct.

Regards Gregor
Previous Topic: REP-52007: Parameter form format error
Next Topic: application forms
Goto Forum:
  


Current Time: Thu Sep 19 19:52:39 CDT 2024