How to call a c++ dll from oracle

plz can someone help me how to call a c++ dll (not ocx coz 10g cant see ocx) from oracle 10g ?
Edited by: jihad jag on Apr 23, 2009 1:40 AM

I guess your request is timed out but to call shared libraries look for 'External Procedure Call' in Oracle documentation.

Similar Messages

  • How to Call a jasper report from Oracle Forms 6i.

    Hi
    Can anybody tel me how to Call a jasper report from ORacle Forms 6i.
    Thanks & Regards
    Bango

    Forms 6i client/server? Use the HOST command to call the report. Since a Jasper report is just a call to a url, it will be something like:
    v_url := '<your url to the report>';
    host ('cmd /c start '||v_url);If it's web Forms 6i it even easier. Just use web.show_document(<url>).

  • How to call a web Service from Oracle Applications?

    Hi friends,
    I've posted this question on OA Framework forum , but may be it's more appropiated put it here. Sorry for do it again:
    It's about how to call a web service from a Form or a .sql (via Request) in Oracle Applications:
    Could you please explain here the detailed steps (with code example if it's possible) to invoke a webservice from Oracle Applications?.. how did yo do it...?
    I've read differents posts here and the 33097.1 metalink note (by the way, the first recommended link in this note is broken...), but there are lots of theorical concepts and no real examples to see how/from where invoke the WS
    I'll have to call one webservice (I suppose the customer will give me the interface implementation)...but I've never did it with Applications so that's why I ask you for all the detailed steps...
    I work with Forms 6i, Apps 11.5.10.2 and DB 9.2.0.7.
    Thanks a lot.
    Jose.

    Hello Jose,
    I did using java program to call BPEL web services in 11.5.10.
    I pasted below the metalink note for your reference (Note:250964.1)
    The idea is first write a java program to call the webservice (in my case it is calling an BPEL web service, so this may not help directly), test it.
    Then port the java program as specified in the note, so that you could call your web service through concurrent manager scheduler.
    Is this ok?
    Thanks
    Arun.
    ======================================================
    Checked for relevance on 25-Apr-2007
    Application Install - Version: 11.5.8 to 11.5.10
    Goal
    ====
    How to register and create a Java concurrent program for Oracle Applications
    Release 11i
    Solution
    ========
    1. Create your Java Concurrent Program (JCP) , using a text editor.
    /*===========================================================================+
    | Concurrent Processing Sample Code |
    | |
    | FILENAME |
    | Hello.java |
    | |
    | DESCRIPTION |
    | Sample Java concurrent program |
    | About the simplest possible program, just writes a message to the |
    | logfile and output file. |
    | |
    | HISTORY |
    | $Log$ |
    | |
    +===========================================================================*/
    package oracle.apps.fnd.cp.sample;
    import oracle.apps.fnd.cp.request.*;
    public class Hello implements JavaConcurrentProgram {
    public static final String RCS_ID = "$Header$";
    public void runProgram(CpContext ctx) {
    ctx.getLogFile().writeln("-- Hello World! --", 0);
    ctx.getOutFile().writeln("-- Hello World! --");
    ctx.getReqCompletion().setCompletion(ReqCompletion.NORMAL, "");
    =======================================
    End Sample
    =======================================
    2. Create a sample directory under $JAVA_TOP:
    $ mkdir $JAVA_TOPoracle/apps/fnd/cp/sample
    3. Copy Hello.java into $JAVA_TOP/oracle/apps/fnd/cp/sample:
    $ cp $HOME/Hello.java $JAVA_TOP/oracle/apps/fnd/cp/sample
    4. Compile your java program:
    javac $JAVA_TOP/oracle/apps/fnd/cp/sample/Hello.java
    5. Test at the command line with following syntax:
    jre -Ddbcfile=$FND_TOP/secure/your_dbc_file.dbc \
    -Drequest.outfile=./outfile \
    oracle.apps.fnd.cp.request.Run \
    oracle.apps.fnd.cp.sample.Hello
    6. Register your custom java concurrent program with Oracle Applications.
    a. Navigate: Concurrent > Program > Executable
    b. Enter details into the form
    Executable: JCPHELLO
    Shortname: JCPHELLO
    Application: Application Object Library
    Execution Method: Java Concurrent Program
    Execution File Name: Hello (Insert a name that does not contain space or period)
    Execution File Path: oracle.apps.fnd.cp.sample
    c. Save the details
    d. Navigate: Concurrent > Program > Define
    e. Enter details into the form
    Program Name: JCPHELLO
    Program Shortname: JCPHELLO
    Application: Application Object Library
    Executable: Choose JCPHELLO from LOV
    Executable Options :
    f. Save the details
    7. Add this new concurrent request to your responsibility request group.
    a. Navigate > Security > Responsiblity > Request
    b. Query System Administrator
    c. Add new row and choose TestJava
    d. Save the changes.
    8. Run your new Hello Java Concurrent Program
    Navigate: Request > Run
    References
    ~~~~~~~~~~~
    Oracle Applications Developers Manual for Release 11i A75545-01
    ====================================================

  • How to call a jar file from oracle forms (6i)

    Hi,
    I'm working with oracle 6i. I want to know that how to call a .jar file from forms menu. when I use HOST('<path>\test.jar') it is working in 'Client Server' any way. but the problem is I use application server in order to run my form. so my form is in the server and I run the form via clients web browser. in that case above solution will not work. if any body knows how to overcome this problem please reply.
    thanks.
    duminda

    I created a bean area and set the class name as implementation class. within that java bean class I called to a bat file which consists of the execution command of the jar file ( because i don't know how to call .jar file from my bean class directly).
    then i tried to run it in application server. its still not running.
    can you tell me what i have to do within my bean class? or can you suggest any solution?
    thank you.

  • How to call OA Framework Page from Oracle Forms?

    Hi,
    I have read the OA Guide on "Forms / OA Framework Page Integration" which guide on how to launch OA framework pages from Oracel Applications Forms.
    I would like to perform the same whereby to call the OAF page from Oracle Form itself. However I do not quite understand on the below section:
    To make use of the Oracle Application API - fnd_function.execute.
    Where should I use this function? Should I create a button triggered to link to OA Page?
    Appreciate advise on this.
    Thanks and Regards,
    Shiau Chin

    Hi Ashok,
    You can refer the topic Forms / OA Framework Page Integration in Developers Guide.
    There you can find details about the below :
    Launching Oracle Applications Forms from OA Framework Pages
    Launching OA Framework Pages from Oracle Applications Forms
    Thanks
    Jegan

  • How to call a .rpt file from oracle form 10g

    I need to call a .rpt file from oracle form 10g. please suggest what to do for this

    Hi,
    onlz rdf and rep files are Reports executables. Convert rpt to rep and you are file (Reports has a conversion utility in the bin directory)
    Frank

  • How to Call Crystal Reports XI  from  Oracle Forms 6i

    hi can any one ,Please provide me the steps to call Crystal Reports XI from Oracle Forms 6i
    very urgent please
    if any Doument,attachment please send to [email protected]
    Thanks in advance
    Regards
    S.Thirumalai selvan

    Hi All,
    Can anyone send me the steps to call Crystal Reports XI from Oracle Forms 6i (client/server)?
    Thanks in advance, Lidija
    My email is: [email protected]

  • How to call a labview dll from excel-VBA?

    How to call a simple Labview DLL from Excel VBA?
    I have seen examples of DLL calls from VB but does it work the same way for VBA? I have 2000 excel and Labview 8.5. I created the DLL and tried to call it from VBA using the same type of code as in NI's website example(ofcourse its a bit diff with 8.5)
    http://zone.ni.com/devzone/cda/tut/p/id/...
    BUT it errors out when called from excel
    ERROR: The object invoked has disconnected from its client

    You would need to provide more details about the LabVIEW DLL, such as the prototypes of the functions (VIs) that you're trying to call, and your actual VBA code. Specifically, what object you're trying to create. You should also make sure the Run-Time Enginer is installed, as well as any required libraries such as the VISA Run-Time if you're using VISA. Have you made sure to enable the ActiveX server for the DLL?
    A search yielded the following items that you may wish to peruse:
    http://forums.ni.com/ni/board/message?board.id=170&message.id=261345&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=170&message.id=45099&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=170&message.id=299209&requireLogin=False
    http://forums.ni.com/ni/board/message?board.id=170&message.id=195846&requireLogin=False

  • How to call a BPEL process from Oracle Apps Java Concurrent program

    Hello,
    I need to trigger a BPEL process from Oracle Apps. Can anybody tell me how to do that? I have two triggering option--
    1. On button click from a Form 6i screen
    2. Using Java Concurrent program.
    Thanks in advance.
    Debkanta

    I am not sure how concurrent program works, but may be one of the way might work out, let me know if Java Concurrent Program works a bit different way
    - [if async] Through concurrent program, you can insert message token to db or aq, and BPEL can be instantiated from there
    or
    - If it supports pure java call, then you can look at multiple documents (e.g. http://www.oracle.com/technology/products/ias/bpel/pdf/orabpel-Tutorial7-InvokingBPELProcesses.pdf) to invoke your process
    - You can also use oracle db utility to invoke soap operation and get the result back
    HTH,
    Chintan

  • How to call MSSQL stored procedure from oracle database

    MSSQL and Oracle databases are linked thru ODBC link using Oracle HSODBC.
    I can query MSSQL table or view from Oracle Database using standard notation for acessing remote objects schema.object@dblink_name...
    Can anybody give me syntax for calling MSSQL stored procedure thru ODBC database link?
    I tried syntax exec schema.stored_procedure@dblink_name but it doesn't work...i'm getting schema.stored_procedure must be declared error...
    Tnx,in advance!
    Dejan Botica

    Oracle database 10gR2.
    MSSQL2000 database.
    For example query:
    select * from dbo.Tbl_Test@kron@dw_jamnica; works fine...
    ...while for example exec dbo.Test@kron@dw_jamnica;
    reports error:
    ORA-06550: line 1, column 7:
    PLS-00201: identifier 'DBO.TEST@KRON@DW_JAMNICA' must be declared
    ORA-06550: line 1, column 7:
    PL/SQL: Statement ignored
    Table Tbl_Test and procedure Test exists in MSSQL instance.
    Regards,
    Dejan

  • How to call a javascript function from oracle apex 3.2.1 (oracle 11g)

    Hello ,
    I want to use javascript for client side validations in oracle apex 3.2.1 and i am using oracle 11g.
    how to call a function for a submit button where i will validate the existance of data for a control and submit the page once validated.
    where to place the call to a fucction and where the function need to be written.
    please give me a sample code...
    i am new to oracle apex.
    thanks/

    Hi,
    This might help
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e13363/javascript.htm#CIHEBFFC
    Br,Jari

  • How to call a "web procedure" from ORACLE Framework

    I need to call a procedure which generates an HTML file from my java Controller
    The procedure I try to execute use some HTP methods
    like :
    HTP.p ('<tr ><td class="x2i"></td></tr> <tr><td width"100%"></td></tr>');
    The java code is :
    OADBTransaction tx = pageContext.getApplicationModule(webBean).getOADBTransaction();
    String call = "call FAO_HR_ABSENCE_HISTORY_REP_WEB.setup(?)";
    try{
    CallableStatement cs = tx.createCallableStatement(call,1);
    cs.setInt(1,pageContext.getEmployeeId());
    cs.execute(); //
    }catch(Throwable th)
    th.printStackTrace();
    throw new OAException(""+th.getMessage(), OAException.ERROR);
    When I try to run it I catch the error below :
    java.sql.SQLException: ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.HTP", line 1536
    ORA-06512: at "SYS.HTP", line 1714
    ORA-06512: at "APPS.ORACLEAPPS", line 1111
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "APPS.ICX_SEC", line 3111
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at "SYS.HTP", line 1536
    ORA-06512: at "SYS.HTP", line 1714
    ORA-06512: at "APPS.ICX_SEC", line 3457
    ORA-06502: PL/SQL: numeric or value error
    ORA-06512: at "APPS.HR_UTIL_DISP_WEB", line 3518
    ORA-06512: at "APPS.FAO_HR_ABSENCE_HISTORY_REP_WEB", line 156
    ORA-06502: PL/SQL: numeric or value error: NULL index table key value
    ORA-06512: at line 1
         at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:134)
    ........

    Matteo,
    A couple of things:
    Even if your procedure works fine, it will provide some html output which is not getting used in your code given above anywhere. What exactly do you want to achieve?
    I am not familiar with the HTP package. Probably this is not the way to use in case of OAF. If you explain your requirement, we can suggest you properly.
    --Shiv                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to call "https" web service from Oracle without certification.

    The reuirement is to call a secured web service (*https web service*) from Oracle9i without involving any additional cost.
    Initialy I tried with UTL_HTTP package but in vain as it is needed some certification. As per the requirement no additional cost should be involved with the implementation.
    So is there any way to achieve the above mentioned problem?
    Please let me know the responses with the sample code/steps.

    Please try not to double post. You have the ability to edit your original thread.
    Oh, BTW, try searching the forum. A quick search turned up this: HTTPS request signed by client certificate from PL/SQL procedure
    Check that out and maybe that will solve your problems.
    Thanks!

  • How to call window programs FTP from oracle 8i

    Hi every one
    Dear friends
    I have to export a small dmp file from onse db server to another db server via our privtare network using ftp. How can i automate this program using pl/sql
    I am trying the flow
    Server 1
    export a table (selected records)
    make file name with some convention
    ftp the exported fle to Server 2
    after successful transfer on server 2
    delete exported file
    delete table for selected records
    Please help
    Prashant

    prashant13 wrote:
    Hi every one
    Dear friends
    I have to export a small dmp file from onse db server to another db server via our privtare network using ftp. How can i automate this program using pl/sql
    I am trying the flow
    Server 1
    export a table (selected records)
    make file name with some convention
    ftp the exported fle to Server 2
    after successful transfer on server 2
    delete exported file
    delete table for selected records
    Please help
    PrashantEven if you could (doubtful), looks to me like you have a big exposure of deleting the selected records without being able to confirm that it is truly safe to do so.

  • Call c++ dll from oracle 10g

    can i know how to call a c++ dll from oracle or how to import a c++ dll from oracle
    any help plz??

    You can call dll's via an External Procedure callout, but the dll needs to conform to the C calling standard rather than c++
    http://download.oracle.com/docs/cd/B28359_01/appdev.111/b28424/adfns_externproc.htm#i1006354
    Hope it helps,
    Greg

Maybe you are looking for

  • Incremental Garbage Collector is halting my server for MINUTES at a time.

    I have a Java server which services hundreds (currently 300-700 on average, target of 2000+) of simultaneous client connections, with a staggering number of long lived (but not permanent) objects. The docs for incremental garbage collection state: "T

  • Error while deleting certificate from key storage in visual admin.

    Hi, I am reconfiguring SSO with our ERP system. I need to delete certificate of abap system. when i try to delete certificate from visulal admin>server>services>key storage>ticketkeystore i get error stating com.sap.engine.services.keystore.exception

  • My Iphone was falsely claimed ??? TNT Problem!!!

    01 Sep 2010 17:40:57 KF7 Shipment Delivered In Good Condition. 31 Aug 2010 18:50:10 KF7 Out For Delivery. 31 Aug 2010 13:44:27 KF7 Onforwarded For Delivery 31 Aug 2010 10:14:45 KF7 Shipment Received At Destination Depot. 30 Aug 2010 11:21:00 KB4 Deli

  • API to update credit_card number in iby_creditcard table

    We got a requirement to update the credit card number stored in iby_creditcard table with a magic number and the API 'iby_creditcard_pkg.update_card' doesn't have the option to update the credit card. Is there any other API to update the credit card

  • Lenovo U410 SSD

    I'm thinking about switching out the 32GB SSD/1TB HD to a 128GB SSD. Can anyone provide the necessary steps in order to do this? Thanks. Solved! Go to Solution.