Calling application from other database

It's possible to call an application on another database, without informing user and password again?

Sorry for being fastidious, but I don't think you can "call" an Apex application as you would call a database procedure for instance. So I assume you mean navigate from one Apex application to another Apex application in a different database.
If you use single sign-on (SSO), that is a piece of cake.
If you don't, there is no straightforward way I think. You can use some ingenious ways to get round it though, for instance:
- In the calling application, using a database link, insert a token in some table in the other database along with the username and a timestamp.
- Pass that token and the username in the URL as a parameter to an "auto login page" in the other application
- In the "auto login page" of the other application, check whether the token/username combination is valid and, if it is, auto-login the user using the provided username.
You also could use other fancier techniques like queues. Maybe others may have other suggestions.
I hope this helps
Luis

Similar Messages

  • Error calling BLS from oracle database

    Hi Experts,
    We have a scenario in which we are calling BLS from oracle database using trigger. The call is made using the following URL:
    http://<Host name>:50000/XMII/Runner?Transaction=<TRX_Path>&Material=MATNR&Pallet_id=PALLET&Plant=PLANT&Proc_order=PROC&Prodline=PROD&Quantity=QTY&Start_Date=DAT&Start_Time=TIM&Status=STAT&UOM=UOM1&User_name=USER&OutputParameter=*
    This used to work fine in 11.5 but when we upgraded to 14.0 it is not working. We have maintained server details in \etc\host file.
    We were getting error in file 'Error 1 Text.txt'. "A possible Cross-Frame Scripting attack has been prevented. Please contact your system administrator or refer to" this was the last error message. We checked this on SCN and based on the search results we have implemented SAP note 1651004 wherein setting in netweaver is required to be changed. After note was implemented we are getting another error text ('Error 2 Text.txt') "This will happen if the browser running the page tha". We tried a few ways but could not capture the full message coming.
    Has anybody of faced similar problem? I would highly appreciate any hint which could help in solving this problem.
    System Information:
    NW 7.31 SP 10
    Oracle 11.2.0.4
    MII 14.0 SP5 patch 7
    Regards,
    Darshan

    Hi Christian/Anushree,
    I have now modified the URL by adding Illum login name and password:
    http://<Host name>:50000/XMII/Runner?Transaction=<TRX_Path>&Material=MATNR&Pallet_id=PALLET&Plant=PLANT&Proc_order=PROC&…
    When i run the url in browser it gives me the expected results but when i try to trigger it from Oracle i am still getting the error as below:
    "<script>
      var inPortalScript = false
      var webpath = "/logon_ui_resources/"
    </script>
    <html>
    <head>
    <BASE target="_self">
    <link rel=stylesheet href="/logon_ui_resources/css/ur/ur_ie5.css">
    <title>User Management, SAP AG</title>
    <script language="javascript">
    var originWindowName=window.name;
    window.name="logonAppPage";
    function restoreWindow() {
    try{
    window.name=originWindowName;
    } catch(ex){}
    </script>
    <script language="JavaScript">
    function putFocus(formInst, elementInst) {
      if (document.forms.length > 0) {
        document.forms[formInst].elements[elementInst].focus();
    function setValuesAutoCreation() {
    var form = document.getElementById('logonForm');
    form.j_username.value="";
    form.j_password.value="";
    form.automaticAccountCreation.value="true";
    function submitForm() {
    var form = document.getElementById('logonForm');
    form.submit();
    function clearEntries() {
      document.logonForm.longUid.value="";
      document.logonForm.password.value="";
    function setFocusToFirstField() {
    myform = document.logonForm;
    try{
       for (i=0; i<myform.length; i++) {
        elem = myform.elements[i];
        if (!elem.disabled) {
          elemType = elem.type;
          if (elemType=="text" || elemType=="password") {
           if (!elem.readOnly) {
              elem.focus();
              break;
          if (elemType=="select-one" || elemType=="select-multiple" || elemType=="checkbox" || elemType=="radio") {
            elem.focus();
            break;
    } catch(ex){
    function addTenantPrefix() {
      return true;
    </script>
    </head>
    <body class="urBdyStd" bgcolor="#F7F9FB" onLoad="setFocusToFirstField()" onUnload="restoreWindow()">
    Thanks,
    Darshan
    <script language="JavaScript">
    var blockPage = false;
    </script>
    <script language="JavaScript">
    try {
      if (top.document.domain != self.document.domain) {
      blockPage = true;
    } catch (error) {
      // This will happen if the browser running the page tha"

  • How to run report from other database

    hi,
    i have an application running on oracle 10g forms (many forms & reports),i want to run a report from other database using a form,it should be run on this application & same report server. so if it is possible so tell me how can i do this ?
    thxs

    If you have another Oracle database you can use the following command to create a link to it from the one you are currently logged into
    CREATE PUBLIC DATABASE LINK my_db_link
    CONNECT TO other_oracledb_usernane IDENTIFIED BY other_oracledb_password
    USING 'remote_oracledb_name';
    When you issue this command the 'remote_oracledb_name' must exist in your TNSNAMES.ORA file so that the remote database can be 'found'
    If this is still not enough info I would suggest that you talk to someone on your DBA team to help set up the link.
    Mark

  • Call oracle_procedure from mysql database

    Hi all,
    How do I call oracle_procedure from mysql database?
    Is it possible at all?
    Thanks ahead.

    Hi,
      You can use the Database Gateway for ODBC (DG4ODBC) to connect to MySQL from Oracle.
    If you have access to My Oracle Support have a look at these notes -
    Master Note for Oracle Gateway Products (Doc ID 1083703.1)
    How to Configure DG4ODBC on 64bit Unix OS (Linux, Solaris, AIX, HP-UX Itanium) to Connect to Non-Oracle Databases Post Install (Doc ID 561033.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on Windows 32bit to Connect to Non-Oracle Databases Post Install (Doc ID 466225.1)
    How to Configure DG4ODBC (Oracle Database Gateway for ODBC) on 64bit Windows Operating Systems to Connect to Non-Oracle Databases Post Install (Doc ID 1266572.1)
    - depending on your platform.
    Regards,
    Mike

  • Calling EJB from other EJB on other J2EE Server

    Can I call EJB from other EJB on other J2EE Server
    Servers - Websphere 5.0
    Do i require home & remote interface of that ejb on client side also
    Help me, please

    the problem is actually i require that is specific to websphere
    for example i want to call a method ion that ejb
    say my ejb name is myejb
    so the normal way i should call is
    InitialContext initialContext = new InitialContext();     
    Object homeObject = initialContext.lookup("ejb/MyEjbHome");
    MyEJBHome myEJBHome =(MYEjbHome )javax.rmi.PortableRemoteObject.narrow(homeObjectMYEjbHome.class);
              myEJB = lSHome.create();
    myEJB.someMethod();
    but here i am having class for home and remote available
    now if other app server i am not having this classes then what to do

  • Create DLL from labview and calling it from other application

    I have an application built using Labview. I wanted to create DLL out of it. The application has
    two String inputs start and stop buttons and two status indicators.
    1. How to itegrate start and stop buttons from function prototype?
    2. Does Labview created DLLs requires labview runtime engine when it is to be called from other application?
    Can some one help on this.
    Solved!
    Go to Solution.

    Hi Yuvish,
    1) They should be boolean inputs to your VI. But does it makes sense to provide a stop button input at the start of your VI? (THINK DATAFLOW!)
    2) Yes, the LV-RTE is needed...
    Best regards,
    GerdW
    CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
    Kudos are welcome

  • Call from other database

    Hi!, I have PL/SQL like ...
    select rm.period, mo.n_org, ...
    from rc_mhp@prs rm, ms_cmhp@prs mc, m_org@prs mo, grp_ms@prs gm,
    (select code_ldr, code_frm from opt_ms@prs
    group by code_frm, code_ldr) om
    where mc.cd_mhp=rm.cd_mhp
    and ( om.code_frm=:p_ldr or :p_ldr is null )
    and ( om.code_ldr=:p_ldr2 or :p_ldr2 is null )
    group by rm.period, mo.n_org, rm.code_ldr;
    The SQL is run in other database, and I have an error ORA-01008.
    I think, it is caused by "select substitution".
    What should I do ?

    Please repost this question in the appropriate section of the Discussion Forum.
    This forum is for general suggestions and feedback about the OTN site.
    You can also use our new offering called OTN Service Network:
    For Oracle Advice/Minimal Support (fee based) on Reports, Forums,
    SQL*Plus, and PL/SQL, please go to: http://www.oracle.com/start/otnServiceNetwork/intro.html?src=9123 86&Act=6
    For customers with paid support (Metalink) please go to:
    http://www.oracle.com/support/metalink

  • How to store Connection object and call it from other programs.

    Hi,
    I am trying to connect to the database, store the connection object and use this connection object from other standalone java programs.
    Can any one tell me how to do this? I've tried in the following way:
    In the following program I am connecting to the database and saving the connection object in a variable.
    public class GetKT2Connection {
       public static void main(String[] args) {
          String url = "jdbc:odbc:SQLDsn;
          String dbUser = "sa";
          String dbPwd = "sa";
          Connection kt2conn = Connection connection = java.sql.DriverManager.getConnection(url, dbUser, dbPwd);
          if(kt2conn == null) {
             System.out.println("Database Connection Failure!");
          else {
             System.out.println("Connected to Database...");
         GetKTConnectionObj.storeKT2ConnectionObj(kt2conn);
    } Here is the program to save connection object in a variable.
    public class GetKTConnectionObj {
       static Connection kt2Connection = null;
       public static void storeKT2ConnectionObj(Connection conn) {
       kt2Connection = conn;
       public static Connection getKT2ConnectionObj() {
       try {
          return kt2Connection;
       catch(Exception e){
          System.out.println(e);
      return null;
    }Now from the following code I am trying to get the connection object that is stored. But this is throwing NullPointerException.
    public class Metrics_Migration {
      public static void main(String args[]) {
         try {
        java.sql.Connection connection_1 =   GetKTConnectionObj.getKT6ConnectionObj();
         catch(Exception e){
    }

    kt2Connection is null. You need to store it first, to make it not null. Otherwise it will stay null forever. And why on earth are you trying to do this THIS way?
    If you are running the two applications separately, it wont work either.

  • Getting error while calling procedure from remote database

    When I am trying to call child procedure from remote database I am getting below error:
    ORA-02064: distributed operation not supported
    ORA-06512: at "NMUSER.NEW_CUST_UPLOAD", line 740
    (P.S. on line no 740 I issued "commit;" )
    I checked rights,synonym on all the objects they are fine.

    Oracle Error: ORA-02064
    Error Description:
    Distributed operation
    not supported
    Error Cause:
    One of the following
    unsupported operations was attempted:
    1. array execute of a remote update with a subquery that references a dblink,
    or
    2. an update of a long column with bind variable and an update of a second
    column with a subquery that both references a dblink and a bind variable, or
    3. a commit is issued in a coordinated session from an RPC procedure call
    with OUT parameters or function call.
    Cheers,
    Manik.

  • I am not able to access the application from other PCs in network

    Hi Friends,
    I am a newbie in this field and building an internal application for employees of my org. The HR will enter all the informations regarding a particular employee and it will get stored in the Oracle DataBase(10g).When the admin users will want to know information about a particular emp they will put the emp_code and it will retrieve all the information of that particular emp.For that I am using Oracle AS(10g).After the deployment of the apllication(.war file) in the AS(10g), when I access the URl- http://10.0.37.51:7777/emp/... from my machine (where 10.0.37.51 is the IP Address of my system where server is installed) the application runs properly but when i give the same url from other pcs the whole application does not run properly it gives an error msg http://d6z5sb1s:7777/...not accessible.. can any of my forum friend help me out to solve the problem.I will be thankful to you..
    Regards,
    Prasenjit Biswas
    [email protected]

    Here I am using Java Type IV for database
    connection.
    So,there was no necessity of creating DNS.How your app communicates with db shouldn't matter for the end user. Still, you may want to use a functional network name also for the thin client driver connection string.
    So,is there any other way to solve this problem.What is the problem really? Do you not use dns for network naming? Maybe you have to manage the hosts file on every client then.

  • Call application from VB

    Hi guru!
    We have developed an application with forms 10g. Is it possible to call our application from another application which is developed in VB.From VB user wants to send some parameters also.How can I get this parameter value from my application which is developed in forms10g
    please help me!
    Mokarem.
    ======

    Hi there
    Oracle forms runs in a browser. You can call it will an URL contain all the parameters you require for the application as well as various environmental parameters such as form userid etc.
    e.g. http://testserver:7777/forms90/f90servlet?config=myConfig&otherparams=userid=bla/bla@dev&form=test.fmx&myparam1=hello&myparam2=world
    From my example my form test.fmx will contain parameters param1 and param2.
    Cheers
    Q

  • Calling Transaction from other system using RFC

    Hi ,
    I have one button on screen(say Screen-A), in ECC. when its pressed the transaction '/SAPAPO/BOPIN' gets called from APO.
    For calling transaction from APO I am using FM - 'ABAP4_CALL_TRANSACTION'.
    I want the initial screen of that transaction to retain some values which I fill on the Screen-A(the screen which has that button).
    When I call the transaction from ECC itself (ex. C006), the initial screen of C006 retains the value on Screen-A.
    I want the same to happen in case of calling transaction from APO.
    How to achieve this?  Would it need the changes in IMG (SPRO)?
    Please note that, Screen-A is initial screen of transaction 'md05' and I want to retain vaules of Material, MRP Area, Plant.
    Thanks,
    Sujeet

    Builld a RFC enabled FM () that wrap the call of Smartforms (*) in the other system.
    Regards,
    Raymond
    (*) [Writing Remote Function Modules in ABAP|http://help.sap.com/saphelp_nw04/helpdata/en/22/0425f2488911d189490000e829fbbd/content.htm]
    (**) [Integrating the Smart Form into the Application|http://help.sap.com/saphelp_nw70/helpdata/en/1c/f40c5bddf311d3b574006094192fe3/frameset.htm]

  • Start an outside application from the database

    Hello,
    is there a way to start an outside application from within the database and pass some field values as arguments?
    Thanks in advance,
    Milos

    is there a way to start an outside application from
    within the database and pass some field values as
    arguments?What do you "within the database"? is it in sqlplus or ...?
    SQL> !ls -ltr 
    -rw-r--r--   1 oracle   dba            2556 Dec 13 10:49 t.txt
    -rw-r--r--   1 oracle   dba            2814 Dec 13 11:51 users.htm
    drwxr-sr-x   2 oracle   dba             512 Jan 16 14:00 test
    -rw-r--r--   1 oracle   dba            5746 Jan 18 06:42 backup.log
    -rw-r--r--   1 oracle   dba            2133 Jan 18 09:58 exlfile.txt

  • Use Package from other database

    Hi all,
    I want to use a function from a package which is stored on another database in the mapping of my datawarehouse.
    How can I do that? I do not want to import the function, because then I do not get the changes which could be done to the package on the other database.
    Thanks in advance
    Yvonne

    If I understand it correctly I should create the package with the same name to
    the public transformations. Either to the public or to the transformations local to your project, yes.
    There I then create a transformation in the package. What should I do with the
    implementation? Leave it like the default is?You can leave it empty, as long as the number, order and type of parameters matches that of the actual packaged function in the database you will be calling.
    How I does the OWB now know where he can find the package?That's the trickier part. You need a database link (connector) between your target and the database with the package. Then you can create a synonym, using the database link, in the target schema pointing to the package in the remote database.
    Now, if you named the newly added package in OWB the same as the synonym used to access the package in the remote database AND you named the function in the new package the same as the real function, you should be able to use the transformation in a mapping, deploy it and execute it, without actually deploying the transformation itself.
    Hmm, reading that back, it sounds rather convoluted to me.
    Anyway...I hope it helps.

  • NetBeans: Calling code from other packages?

    Normally, when I would call code from eclipse, I would type something like:
    import +<package name>.<class name>+But somehow, this approach doesn't seem to work in NetBeans, how can I import code from another package? I can seem to import from the same package, but not a different one.
    Edited by: px7659 on Jun 15, 2010 6:21 PM

    px7659 wrote:
    Normally, when I would call code from eclipse, I would type something like:
    import +<package name>.<class name>+But somehow, this approach doesn't seem to work in NetBeans, how can I import code from another package? I can seem to import from the same package, but not a different one.Then the package is not part of the project. Did you perhaps forget to add the jar library in question?

Maybe you are looking for

  • IPod Touch 3G Stuck in restore mode

    Now, wait until you here this one. I turn on my iPod, and out of nowhere, I have a 21 million minute lock. SO, I figure I'll just restart it. I put my ipod into recovery mode, and no dice on my main computer which is on Win 7 using 64-bit iTunes. I g

  • Help with systemd problems/reply to closed thread

    @Everyone; as the previopus topic was closed, I am opening a new one here, partly to reply to some things that was said to me in the previous thread/topic (and I do not like to leave people hanging), but mainly to try and get some help with my system

  • IPod mini - USB - mac mini

    The iPod mini is visible on a mac mini, OS X 10.3.9, iTunes 4.7 but is not on a mac mini, OS X 10.4.2, iTunes 4.9 My assumption is that there is a problem with the OS? Seems similar to 10.3 to 10.3.3 which did not detect iPod minis either. Can anyone

  • Why can't I order through the portal?

    Since yesterday, I place an order and I get the message "Thank you..." but it then hangs and the order never goes through.  My reseller can't get an order placed either.  If the system is down please let me know.

  • Can I make the new songs go on the top of the playlist on my iPhone?

    Is that possible? Because I find the need of constantly dragging every new song from the bottom to the top very annoying? Thank you in advance