OpenScript and Oracle forms 10g

Well, have I had fun today.
Trying to record a functional test script with Oracle forms. It's been a long day, and I have had enough. To cut a very,very,very long story short here is the output from the Java console once I got the 10g forms demo working with IE7.
Oracle JInitiator: Version 1.3.1.22
Using JRE version 1.3.1.22-internal Java HotSpot(TM) Client VM
User home directory = C:\Documents and Settings\wayne.SCLOFFICE
Proxy Configuration: no proxy
JAR cache enabled
Location: C:\Documents and Settings\wayne.SCLOFFICE\Oracle Jar Cache
Maximum size: 50 MB
Compression level: 0
c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
l: dump classloader list
m: print memory usage
q: hide console
s: dump system properties
t: dump thread list
x: clear classloader cache
0-5: set trace level to <n>
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndformsi18n.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndewt.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndswing.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndbalishare.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndaol.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndctx.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndlist.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndutil.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndtcf.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndgantt.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndpromise.jar
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndjewt.jar
Error1: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndjewt.jar
java.io.FileNotFoundException: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndjewt.jar
     at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
     at java.net.URL.openStream(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.download(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.loadFormsClient(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Load Forms Jars from target instance ...
0...http://apollo.scloffice.com:8889/forms/java/frmall_jinit.jar
1...http://apollo.scloffice.com:8889/forms/formsdemo/jars/demo.jar
2...http://apollo.scloffice.com:8889/forms/formsdemo/jars/icons.jar
3...http://apollo.scloffice.com:8889/forms/java/
cracked oracle.forms.engine.Main
cracked oracle.forms.engine.Runform
Forms Version: 10.1.2.0
cracked oracle.ewt.lwAWT.LWScrollbar
cracked oracle.forms.net.SocketConnection
servarg: escapeParams=true module=healthyliving.fmx userid= sso_userid=%20 sso_formsid=%25OID_FORMSID%25 sso_subDN= sso_usrDN= debug=no host= port= output_dir=g:\oracle\DevSuiteHome_1\forms\demos\temp record=names
cracked oracle.forms.net.HTTPConnection
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
log4j:WARN No appenders could be found for logger (oracle.oats.scripting.modules.formsFT.helper.helperService.HelperServiceConnection).
log4j:WARN Please initialize the log4j system properly.
Helper Service Message :<Message name = "StartConnection" port="44444"/>
Initialize Debugger: null
java.lang.NoClassDefFoundError: oracle/apps/fnd/ui/ChoiceBox
     at oracle.oats.scripting.modules.formsFT.helper.Context.getComponent(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.helper.Engine.onPutMessage(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.helper.OracleFormHook.onPutMessage(Unknown Source)
     at oracle.forms.net.HTTPConnection.putMessage(Unknown Source)
     at oracle.forms.engine.FormsDispatcher.putMessage(Unknown Source)
     at oracle.forms.engine.Runform.onMessageReal(Unknown Source)
     at oracle.forms.engine.Runform.onMessage_C(Unknown Source)
     at oracle.forms.engine.Runform.onMessage(Unknown Source)
     at oracle.forms.engine.Runform.sendInitialMessage(Unknown Source)
     at oracle.forms.engine.Runform.startRunform_C(Unknown Source)
     at oracle.forms.engine.Runform.startRunform(Unknown Source)
     at oracle.forms.engine.Main.createRunform(Unknown Source)
     at oracle.forms.engine.Main.start(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
OpenScript server port is 44444
Now then points to note:
1) Openscript does not ship with the complete forms jars. Hence the download failure from the server (I think?).
2) The NoClassDefFoundError java.lang.NoClassDefFoundError: oracle/apps/fnd/ui/ChoiceBox makes sure the app does not appear (although outside of Openscript everything is cool!!). After an age, I found that this particular class is located is EBS11i_CrackedClass.jar which is a jar file in one of the lib directories of Openscript. On my install G:\oracleATS9\OpenScript\openscript_configuration\org.eclipse.osgi\bundles\49\1\.cp\lib\formsClient\EBS11i_CrackedClass.jar to be precise.
Question: Does this file need to be referenced by the app config?? I'm sure I'm very close to getting this working but ClassNotFoundErrors do not help.
Any input woudl be GREATLY appreciated.
Regards
Wayne.

Who's a clever boy then :)
Okay, so the way I solved this was
1) Take the frmall_jinit.jar and extract the contents which in my install contained another jar file called forms.jar.
I then ran jar cvf forms.jar to extract the contents to a directory called oracle (first part of the package name).
I them ran the same for all the jars list above which extracted the classes into the oracle directory.
I then ran jar cvf frmall_jinit.jar .\oracle
Which (obviously) creates a new jar file with all classes. I then copied this to the g:\oracle\devsuitehome\forms\java directory.
I then ran openscript and and recorded a simple interaction with one of the form demos. (With Jinitiator set to open java console) and I got this output:
Downloading...http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
Error1: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
java.io.FileNotFoundException: File not found: http://apollo.scloffice.com:8889/forms/java/oracle/apps/fnd/jar/fndforms.jar
     at sun.plugin.protocol.jdk12.http.HttpURLConnection.getInputStream(Unknown Source)
     at java.net.URL.openStream(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.download(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.loadFormsClient(Unknown Source)
     at oracle.oats.scripting.modules.formsFT.classloader.FormsFTClassLoader.findClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadClass(Unknown Source)
     at java.lang.ClassLoader.loadClass(Unknown Source)
     at sun.applet.AppletClassLoader.loadCode(Unknown Source)
     at sun.applet.AppletPanel.createApplet(Unknown Source)
     at sun.plugin.AppletViewer.createApplet(Unknown Source)
     at sun.applet.AppletPanel.runLoader(Unknown Source)
     at sun.applet.AppletPanel.run(Unknown Source)
     at java.lang.Thread.run(Unknown Source)
Load Forms Jars from target instance ...
0...http://apollo.scloffice.com:8889/forms/java/frmall_jinit.jar
1...http://apollo.scloffice.com:8889/forms/formsdemo/jars/demo.jar
2...http://apollo.scloffice.com:8889/forms/java/
cracked oracle.forms.engine.Main
cracked oracle.forms.engine.Runform
Forms Version: 10.1.2.0
cracked oracle.ewt.lwAWT.LWScrollbar
cracked oracle.forms.net.SocketConnection
servarg: module=save2html.fmx usesdi=yes userid= sso_userid= OUTPUT_REAL_DIR=g:\oracle\DevSuiteHome_1\forms\demos\temp/ OUTPUT_VIRTUAL_DIR=/forms/formsdemo/temp/ record=names
cracked oracle.forms.net.HTTPConnection
proxyHost=null
proxyPort=0
connectMode=HTTP, native.
Forms Applet version is : 10.1.2.0
log4j:WARN No appenders could be found for logger (oracle.oats.scripting.modules.formsFT.helper.helperService.HelperServiceConnection).
log4j:WARN No appenders could be found for logger (oracle.oats.scripting.modules.formsFT.helper.helperService.HelperServiceConnection).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN Please initialize the log4j system properly.
Helper Service Message :<Message name = "StartConnection" port="44444"/>
Initialize Debugger: null
cracked oracle.apps.fnd.ui.ChoiceBox
cracked oracle.apps.fnd.flex.FlexWindow
cracked oracle.apps.fnd.ui.ResponseBox
cracked oracle.apps.fnd.formsClient.ChoiceBoxMessenger
cracked oracle.apps.fnd.formsClient.InfoBoxMessenger
cracked oracle.apps.fnd.formsClient.FlexWindowMessenger
cracked oracle.apps.fnd.formsClient.EditBoxMessenger
cracked oracle.apps.fnd.formsClient.ResponseBoxMessenger
cracked oracle.forms.handler.TextFieldItem
cracked oracle.forms.handler.ListValuesDialog
cracked oracle.forms.handler.EditorDialog
cracked oracle.forms.handler.HelpDialog
cracked oracle.ewt.lwAWT.lwText.LWTextComponent
OpenScript server port is 44444
cracked oracle.forms.handler.ListValuesData
cracked oracle.forms.handler.AlertDialog
cracked oracle.ewt.alert.AlertPane
cracked oracle.apps.jtf.table.ReadOnlyGrid
cracked oracle.apps.jtf.schedulingChart.client.SchedulingDataClient
RECORD<--OracleForms.windowChange("WINDOW1%dimension=0,0,675,480");
RECORD<--OracleForms.button("//forms:button[(@name='HTML_CONTROL_WRITE_HTML_BUTTON_0')]").setFocus();
RECORD<--OracleForms.radioButton("//forms:radioButton[(@name='HTML_CONTROL_REC_OPTION_VIEWED_RECORDS_0')]").select();
RECORD<--OracleForms.button("//forms:button[(@name='HTML_CONTROL_WRITE_HTML_BUTTON_0')]").setFocus();
RECORD<--OracleForms.radioButton("//forms:radioButton[(@name='HTML_CONTROL_DISPLAYED_ONLY_DISPLAYED_ONLY_T_0')]").select();
RECORD<--OracleForms.button("//forms:button[(@name='HTML_CONTROL_WRITE_HTML_BUTTON_0')]").setFocus();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollTo("1");
RECORD<--OracleForms.textField("//forms:textField[(@name='EMPLOYEES_EMPLOYEE_ID_0')]").setFocus();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
RECORD<--OracleForms.blockScroller("//forms:blockScroller").scrollDown();
cracked oracle.apps.jtf.table.SpreadTableWrapper
RECORD<--OracleForms.button("//forms:button[(@name='CONTROL_HELP_BUTTON_0')]").click();
Marvellous!!
Question: I did not think you can have a jar file which contains other jar files....Openscript could not resolve the classes properly. Are nested jar's supported in Java??
Thanks Alex et al.
Regards
Wayne.
p.s. the playback worked fine!! :)

Similar Messages

  • Doubt with Windows and Oracle Forms 10G and 11g

    Hi
    I have some doubts in installing Oracle Client on Windows.
    a)Can we install Oracle Forms 10g and Reports 10g client on Windows 7?
    b)Can we install Oracle Forms 11g and Reports 11g client on Windows XP?
    c)If we have an Oracle Forms 11g and Reports 11g, can it connect to a 10g Server?
    d)If we have an Oracle Forms 10g and Reports 10g Client, can it connect to an 11g Server?
    Please, Can any one help me in this????

    a)yes it can be installed on win7, may have some issues on 64bit systems but they're solvable
    b)11g had some problems with windows 2000, but didn't see mention of any problems on XP
    c)if you mean a database server then yes - i managed to connect 11g to an 8i database, so v10 should not be a problem. If you mean a forms/reports server..well newer forms/reports builder might not want to run old forms/reports and vice versa, but I don't see the point of operating on the same files from different versions. You can still load old form/report source files with a newer builder and recompile them to run on the new server.
    d) the "client" is effectively your web browser with a java plugin, unless I misunderstood your question. What version was a form/report compiled with should not be an issue.

  • Installation of Oracle Application Server and Oracle forms 10g

    I am currently using form 6i and Oracle 10g in my home. but i want to
    Install and setup Forms 10g on my Pentium IV PC with oracle Application server 10g.
    I need the issues in this installation and I want Proper steps and Software and hardware Requirement for Implement my oracle forms on web.

    You can download the documentation from otn.oracle.com or if u have dvd/cd
    then installation guide will be there inside the dvd/cd
    Rajesh

  • How to connect oracle Database10g and oracle forms 10g

    I installed oracle Database10g and oracle developer suite 10g in different homein my notebook. how to connect these .
    please help me on this issue
    Rajeev

    DEFINE IN THE TNSNAMES.ORA THE STRING CONNECTION TO THE DATABASE
    CONN1 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = server1)(PORT = 1521))
    (CONNECT_DATA =
    (SERVICE_NAME = sid1)
    )

  • Cannot connect to database using Oracle Forms 10g

    hi,
    I had installed Oracle 10g database and Oracle Forms 10g on Windows Vista Home Basic. However, I was unable to connect to
    the database in Oracle Form using scott/scott for database "orcl", with the following error message:
    ORA-00604: error occured at recursive SQL level 1
    ORA-01009: missing mandatory parameter
    However, I could access to the database using this set of username and password. Am I missing something? Thanks.

    Hi,
         After a successful installation of forms 10g in vista, I'm about to run OPatch Universal Installer for the patch 7047034
    in order to fix the form bugs. However, I cannot run the command "opatch apply C:\oracle_form\Patch26_Rel_10105\7047034"
    with the error "The Oracle Home c:\devsuitehome_1 is not registered with the Central Inventory.". Then I try to create a
    oraInst.loc file, but not much change still. The situation is that oracle 10g is installed before oracle developer suite
    10g, and when I try to set oracle_home to oracle 10g's path ("C:\oracle\product\10.2.0\db_1") and run "opatch lsinventory",
    it returns the correct result; when oracle developer suite 10g's path ("c:\devsuitehome_1") is set as the oracle_home,
    the same command would return a different result as "LsInventory: OPatch Exception while accessing O2O".
         I've verified through Oracle Universal Installer that the Central Inventory has included both as oracle_home (oracle 10g
    and oracle developer suite 10g). I'm very confused now, though it seems that the problem could be solved by registering the
    Central Inventory with oraacle developer suite 10g's path. Thanks.

  • Compatability between Forms 6(Forms 6i also) and Oracle Database 10g

    Hai All,
    I want to know Any Compatible issue between ORACLE FORMS 6 (ORACLE FORMS 6i also ) and Oracle Database 10g .
    Any special patches, parameters needed?
    Any white paper describing this document.
    Please help?
    shiju

    Forms 6i Patches pre 16 and 10g databases - many problems
    Forms 6i Patch 17 - 10g DB Rel.1 - certified
    Forms 6i Patch 18 - 10g DB Rel.2 - certified only for E-Business-Suite-user

  • Oracle Forms 10G and Java 7 ?

    So, as of 13 February 2013 (https://blogs.oracle.com/java/entry/end_of_public_updates_for) there will be no more updates for Java 6. So does that mean that Oracle Forms 10g (which as far as I know only supports Java 6) applications will have to upgraded to Forms 11g to keep up with the Java updates? So if you are running Forms 10g on OAS (Oracle Application Server) does that mean also an upgrade from OAS to Weblogic?

    Looks like there may be an update to fix this issue:
    Patch 14825718
    Description      ORACLE FORMS BUNDLE PATCH 10.1.2.3.2
    Product      Developer Forms
    Release      iAS 10.1.2.3
    Last Updated      07-JAN-2013
    From the README for 14825718
    # 11782681 - APPS6 FORMS DO NOT LAUNCH WITH BETA JRE 1.7I found the above information starting here:
    Re: Java 1.6 and 1.7 on same computer, which references this: FRM-92095: Oracle Jnitiator version too low
    Here's a workaround which is supposed to work without installing the patch, but I haven't had time to try it:
    The "Frm-92095" link above also mentions the -Djava.vendor fix but doesn't show the following steps.
    After installing Java 7, open file manager and go to the directory below, double-click on this file:
    C:\Program Files (x86)\Java\jre7\bin\javacpl.exeThis opens a "Java Control Panel" window.
    Click the Java tab, then the View... button.
    This should open a Java Runtime Environment Settings window with two tabs: User and System.
    On each tab, under Runtime Parameters, enter:
    -Djava.vendor="Sun Microsystems Inc."The place I saw these instructions claim it works in IE9, Firefox 18.0.2, and Chrome 24.0.1312.57
    I have not had time to try yet.

  • Oracle reports 6i to Oracle forms 10g migration

    Hi,
    I have .rdf files which were created on Oracle Reports 6i. I would like to migrate the .rdf files into Oracle Reports module which is present as a part of Oracle Forms 10g to generate PDF output.
    Please let me know the detailed steps to be followed as I am a total newbie. Also I need to generate these reports on demand from a java 5 application (JSF 2.0).
    Currently for ORacle reports 6i, I have the following code in my java application
    rwrun60.exe g:\tomcat33\webapps\reports\web-inf\src\null userid=***/*** destype=FILE desformat="pdf" paramform=NO printjob=NO batch=YES desname=temp.pdf
    1. What would be the equivalent for reports in ORacle Forms 10g ? I know there is an Oracle Apps server where ther report services reside. How to I invoke my report from my java application (residing on a weblogic server 10.3.6)?
    2. What ould I do with the 6i .rdf files to upgrade them to 10g ?

    I am trying to call an Oracle report i.e .rdf (which is located on the Oracle  App Server) from my java EE 5 (JSF) application. The Oracle  App server is Oracle Application Server 10g Release 2. I assume Oracle report generation capability is available in this release.  I need to invoke the report from my Java JSF application on demand (whenever the user clicks a button on the web browser page, the report should appear on the browser as PDF) . My java application resides on Linux weblogic server.
    Please let me know how it can be done ? I see rwclient.sh and another method to directly invoke using a URL. How do I do it on java, would a request.redirect() to the URL work ?
    Also for hiding the params in the URL. keys need to be configured on the Oracle server right ?
    Also if we use rwclient.sh or the URL based invocation, would there be any issue in concurrency when multiple users request the same report at the same time ?

  • Oracle Forms 10G(tabbed canvasses not working the same as in Forms 6i)

    Hi everyone,
    I have a form which gets called from another form through a list of value. The called form(second form) has a group of tabbed canvases which get displayed depending on the parameters passed from the first form.
    The Form is working prefectly fine in Forms 6i but when I converted the same form in to forms 10G it does not seem to work the same way. The tabbed canvasses are not getting displayed. I am manually having to press the execute query to get data displayed in the tabbed canvasses. I checked the parameters that are being passed and they are the same as that in Forms 6i.
    Please let me know where my 10G Form is going wrong. Appreciate your help, please send me an email on [email protected]
    Thanks

    duplicate
    Re: Oracle Forms 10G not working as Oracle Forms 6i

  • How to do this in oracle forms 10g

    hi all,
    any idea about how to format a drive using oracle forms 10g and shutting down the remote pc and a personal pc using oracle forms 10g.
    i am using windows XP2 as os.
    please replay..

    Hi Inol and Weiden,
    thanks for your help,
    i have cretaed a form xyz.fmx with a button , i wrote in when-button-pressed and also attached the default webutil.pll(which is in forms path) library in attached-library section
    Client_host('cmd c/ shutdown -i');
    but my problem is that when i run the form i am getting error that
    FRM-40039: Cannot attach library webutil.pl while opening form xyz.fmx.
    Cause: The given library is attached to the form but
    cannot be located in the search path for PL/SQL libraries.
    Action: Make sure that the given library can be found
    and that it has read permissions set.
    Level: 99
    Type: Error
    i think i have to configure the webutill.pll but i don't how to configure
    can you tell me how to configure the webutil.pll file..
    please reply..

  • How to use LDAP with Oracle forms 10g on Oracle application server

    Hi,
    I need some help on this. I have developed oracle forms 10g on application server 9iAS. The client want to use the existing LDAP authentication to the software we wrote. I do not know how I could configure to use the existing LDAP authentication . If anyone know how would I use the existing LDAP on different server to use when they logon to our menu in 10g to validate the user. Do I need to add any varibales in formweb.cfg or any other method. Please help.
    Thanks
    Luksh

    I am not quite sure if this works out of the box. According to an Oracle FAQ:
    4.2 Can I use LDAP to authenticate Forms Services?
    Not directly. However, Oracle Login Server is able to authenticate against a LDAP directory and thus a Forms application can take advantage of this in a SSO environment. But you cannot use access control information stored in a LDAP directory with Forms.

  • Exception when calling web service from Oracle forms 10g

    Hi All,
    I am trying to integrate Oracle Forms 10g(V 10.1.2.0.2.) with Web Services.
    There is a java class named 'authenticate' which is generated using Oracle JDeveloper.
    This class is included in the forms application by using "Import Java Class" feature.
    Forms built the following funtion based on that class:
    -- Method: authenticate (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    FUNCTION authenticate(
    obj ORA_JAVA.JOBJECT,
    a0 VARCHAR2,
    a1 VARCHAR2) RETURN VARCHAR2 IS
    BEGIN
    args := JNI.CREATE_ARG_LIST(2);
    JNI.ADD_STRING_ARG(args, a0);
    JNI.ADD_STRING_ARG(args, a1);
    message('here1');
    RETURN JNI.CALL_STRING_METHOD(FALSE, obj, 'mypackage/AuthenticatorWebServiceServiceStub',
    'authenticate', '(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;', args);
    message('here2');
    END;
    However when the above code is invoked it shows the message 'here1' on the form and then throws the following exception: java.lang.Exception: java.lang.ClassCastException
    Please suggest me what's wrong with the code. I appreciate your time and help.
    Thanks,
    Scott.

    My primary skill is PL/SQL but the only information I found on Oracle's site to call a web service from a 10g Form was creating a jar file and importing the java class. Since I don't want to ask our corporate IT to make changes on the UNIX box for the jar files I went a different route.
    I use UTL_HTTP.BEGIN_REQUEST to call a URL then load I load the data to a table as a CLOB since we have more than 4000 characters. Now I need to parse the XML and load it into a form. I have never done this so if there is a helpful site please let me know. I have looked at several sites but none do what I want.
    Thanks

  • URGENT!!! calling crystal reports from oracle forms 10g

    Is it possible to call crystal reports from oracle forms 10g?
    Can someone help to answer how, if there is a solusion, to call crystal reports from oracle forms 10g.
    Please provide codes with details showing step by step.
    Thanks

    hi
    try something like this.
    DECLARE
    charWinHandle VARCHAR2(50);
    numWinHandle NUMBER;
    BEGIN Set_Application_Property(Cursor_Style,'BUSY');
    charWinHandle := Get_Item_Property('Control.Rep',Window_Handle);
    numWinHandle := To_Number(charWinHandle);
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowParentHandle
    := numWinHandle;
    :Item('Control.CrystalReport1').OCX.Crystal.Crysta lReport.WindowState := 2;
    :Item('CONTROL.CRYSTALREPORT1').OCX.Crystal.Crysta lReport.Connect
    := 'DSN=;UID=' || Get_Application_Property(UserName) ||
    ';pwd=' || Get_Application_Property(password) || ';dsq=;';
    Crystal_CrystalCtrl.ReportFileName( :Item('Control.CrystalReport1').interface,
    'C:\Sample_Rep.Rpt' );
    Set_Window_Property( Forms_Mdi_Window, Window_State,Maximize );
    Set_Window_Property( 'MAIN', Window_State, Maximize );
    :reptitle := 'Report Preview Window';
    numWinHandle := Crystal_CrystalCtrl.PrintReport( :Item('Control.CrystalReport1').interface );
    Set_Application_Property(Cursor_Style,'DEFAULT');
    END;NOTE: Change the report name and path according to your required file name and path in
    the "Crystal_CrystalCtrl.ReportFileName" method call. Also, the connection string shown
    assumes that you will use the current USER and PASSWORD for the Form.
    - To make the above Form generic so that you can run any Crystal report from it, then create
    a parameter for the report name and pass it to the Form using CALL_FORM from any other Form.
    Then just replace the file name with the passed parameter.
    -. Run the Form
    If its correct/helpful please mark it thanks.
    sarah
    Edited by: S@R@h on Nov 27, 2009 6:33 AM

  • Calling Crystal Reports from Oracle Forms 10G

    Hi everyone,
    I am trying to call a crystal report from Oracle Forms 10G.
    I have a button on my Form which when clicked calls a Crystal Report which the uaser then wants to save as a PDf file.
    Can someone please send me the code to do this and also the exact steps that are to be followed.
    Thanks
    Fm.

    Hi Andreas,
    I am trying to call the crystal report from an Oracle Form using a URL. No batch file is being used here.
    I am looking for a peice of code similar to run_product or run_report built in in Oracle which calls an Oracle report from an Oracle Form.
    Also I dont want to display the report on a screen or a window in Oracle Forms. I would like it to run just as we run an Oracle Report from an Oracle Form.
    Is that possible ? If yes please let me know the steps to do this.
    Thanks
    Faiz
    Edited by: IQ on May 13, 2011 11:38 AM

  • Error while importing java class into oracle forms 10g

    Hi
    I have generated a web service client using jdeveloper 10g. It consists of complex type methods. I am trying to import the class files using java importer in oracle form 10g. I am able import all of them successfully except one. That one is the main method. Please see the error and suggest me how to overcome this error.
    Exception occurred: java.lang.NoClassDefFoundError: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    Thanks in advance

    Do you see oracle/jdeveloper listed in "Import Java Classes" when you try to import?
    If not, make sure you add C:\DevSuiteHome_1\jdev\lib\jdev.jar to FORMS_BUILDER_CLASSPATH in registry
    Also excetion indicates: oracle/jdeveloper/webservices/runtime/WrappedDocLiteralStub
    If you typing it - type: oracle.jdeveloper.webservices.runtime.WrappedDocLiteralStub

Maybe you are looking for

  • Firefox continues to crash instantly at startup.

    on the 9th my wife complained that firefox should it crashed. I attempted to restart and submit bug with same results. I uninstalled all and reinstalled using ver 8 the previous ver was 7. Same issue resulted. I uninstalled again restarted win 7 and

  • Creating a Non-RAC ASM 10gR2 instance in Solaris 10 (x86)

    DB Version:10gR2 OS: Solaris 5.10 for x86 (Installation DVD released on June 2006) I have decided to remove the windows installation in my old laptop.I am going to install only Solaris 10 (x86) in this to create an ASM instance. My laptop has a singl

  • Essbase Drilldown limits

    Hi there, we are currently on version 11.1.1.2. After adjusting my config file I am able to drilldown 500,000 lines but no more. Does the new version of essbase 11.1.2 - increase this limit? We use the Excel Add-in thanks

  • [SOLVED]I need help updating the ABS tree by a form other than rsync

    hi arch family presented the following problem, I have internet access through a firewall, my problem is I can not update the tree ABS rsync to update there any alternative other than because they appreciate assistance rsync thanks Last edited by jcc

  • X7 WinHelp files crashing on compile

    One of our locations is encountering this problem: We are facing a daunting task in the last couple of months to work with RoboHelp in publishing our WinHelp4 files for our products. The project crashes when compiling the help files resulting in losi