Calling OIM API from a remote system

Hi.
I have OIM 9031 server installed on a computer HostA. And I have multiple copies of the 3rd party java program installed on HostB, HostC and so on.
I need to be able to call some OIM API from that custom java program (for example, receive the list of active users from OIM server).
According to OIM documentation, I can use Remote manager to manage users on non-network awared systems.
But what if I use Remote manager for calling remote OIM API ? Is that possible?
Or are there any easier ways to achieve my goal ?

The installer in the AD sync connector is provided because in addition to having the OIM API client, there is a DLL that needs to be installed and registered to capture the plaintext password. It is not necessary to have an installer, but it might be be a convenience if you are deploying to many machines.
Here is some code to get you started:
import Thor.API.tcUtilityFactory;
import com.thortech.xl.util.config.ConfigurationClient;
import java.util.Hashtable;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
public class TcUtilFactory {
Log log = LogFactory.getLog("OIMCLIENT.UTILITY");
private tcUtilityFactory factory = null;
private Hashtable env = null;
public TcUtilFactory() throws Exception {
// you can also set these system properties on the command line
System.setProperty("XL.HomeDir", "/opt/oimclient);
System.setProperty("java.security.policy", "config/xl.policy");
System.setProperty("log4j.configuration", "config/log.properties");
System.setProperty("java.security.auth.login.config", "config/auth.conf");
ConfigurationClient.ComplexSetting configClient = ConfigurationClient
.getComplexSettingByPath("Discovery.CoreServer");
env = configClient.getAllSettings();
try {
factory = new tcUtilityFactory(env, "xlsysadm", "xelsysadm");
} catch (Exception e) {
// handle exceptions thrown by tcUtilityFactory constructor
From here you can write whatever methods you need going against tcUtilityFactory. Also note that you will need many of the jars from your lib directory as well as the properly configured xl.config and other files in the config directory that the design console client uses (I usually just copy them from that install). Last you will need to make sure you have the required jars specific to you app server (the ones you need to copy over during the design console install)

Similar Messages

  • How to call OIM API from external app?

    Hi,
    I have an java application and I would like to call OIM API to accept a request. The application resides in separate server than OIM.
    My questions:
    *1.* What to do to call OIM API from external application (import any OIM jars etc.)?
    *2.* Which method to use, setRequestResponse , closeRequest or any other?
    I appreciate any help, thanks.
    Edited by: m.m. on Feb 2, 2010 5:33 AM

    Hello,
    If it is an external client, you need to provide the "login" and "password" details explicitly in the code (something like this), before getting any other Interface control to invoke the OIM APIs -
    public class OIMAPIClientTest {
    public static void main(String[] args) {
    try{
    System.out.println("Starting...");
    ConfigurationClient.ComplexSetting config = ConfigurationClient.getComplexSettingByPath("Discovery.CoreServer");
    Hashtable env = config.getAllSettings();
    tcUtilityFactory ioUtilityFactory = new tcUtilityFactory(env,"xelsysadm","abcd1234");
    System.out.println("Getting utility interfaces...");
    Regards,
    Amit
    Edited by: amitKumar on Feb 2, 2010 5:29 AM

  • Calling a report from a remote system

    Hello All,
    Any idea on this issue will be of great help.
    The scenario is like this.
    a. There are two SAP systems. SYS1 and SYS2.
    b. SYS2 has ALV reports which need to be executed from SYS1.
    c. I applied the following logic which successfully calls the report in SYS1 but does not show up in the ALV format.
    d. The following is the logic used.
    There is an RFC enabled function module in SYS2 that has the statement SUBMIT EXPORTING.... Within the same FM, the LIST_MEMORY imports the report contents. This FM since it is being called from SYS1, sends back the imported contents from SYS2 to SYS1.
    e. In SYS1, the WRITE_LIST is being used that prints the report.  BUT THIS SHOWS THE OUTPUT in the form of a normal report.
    My question is, how do I show the contents in the ALV format.
    Please note,, the reuse_alv..list..display FM cannot be used as the internal table that is imported in SYS1 has the data in the RAW format.
    Any help??/
    Thanks for your time

    Yes, you can do that using the RFC, but you won't be able to send any parameters thru the selection screen.
    report zrich_0003 no standard page heading.
    data: source type table of  PROGTAB with header line,
          output like listzeile occurs 10 with header line.
    call function 'RFC_ABAP_INSTALL_AND_RUN'
               destination <system_name>
             exporting
               mode                = space
               programname         = <the_program_name>
             tables
                program            = source
                writes             = output.
    loop at output.
      write:/ output.
    endloop.
    Regards,
    Rich Heilman
    Message was edited by: Rich Heilman

  • Calling Java API from ABAP using JCo (Part 2)

    Hello,
    This is an additional question to thread Calling Java API from ABAP using JCo
    Has anyone managed to get the input parameter value
    input.getString("REQUTEXT")
    that is being passed from ABAP?
    If yes, what kind of setting you need to do? Because when I execute, it has no value.
    Thus, the below ECHOTEXT parameter returns blank value:
    output.setValue(input.getString("REQUTEXT"),"ECHOTEXT");
    When I debug by printing the below line, the input XML is indeed without value:
    System.out.println(input.toXML());
    Anybody knows how to pass input variable from ABAP to JAVA using JCo?
    rgs,
    hiroshi

    Hallo Hiroshi,
    as far as I can see, you are doing it the right way. The problem might be that the ABAP program does not fill in this parameter because something went wrong in the SAP System.
    Have you tried setting a breakpoint (an HTTP session - remote breakpoint) and tried checking step by step if the value is being processed and put into the REQUTEXT field?
    Bye,
    Sameer

  • Calling a Report from one SAP system(4.7) to another SAP system(ECC6)

    Hello Gurus,
    Recently we have upgraded from 4.7 to ECC. While upgrading we were used one Z program to download the objects from 4.7 and used Z program to upload the objects into ECC.
    Now we are planning to integrate Z program of 4.7 and Z program of ECC into one program in ECC. When we execute the program in ECC, system should call the program of 4.7 remotely and download the objects in ECC after providing the selections in selection screen and upload program take care as it is in ECC.
    I am trying to use SUBMIT statement but I am not sure about the remote call. Could you please suggest on this.
    If any one worked on this please suggest me.
    In 4.7, the program is ZTOOL,
    Thanks and Regards,
    Muralikrishna Peravali

    Hi Muralikrishna,
    First of all, sorry for delayed reply, was quite busy this afternoon
    But, let's see, only side you'll need to create RFC function module is target system (RFC) and at source system (ECC) you'll only need to call this function module defining your target system (see DESTINATION option for function module calls).
    In this way you'd have following:
    1 - program at ECC side that will call RFC function module (at 4.7 side)
    2 - RFC function module at 4.7 side that will trigger (SUBMIT) target report, also in 4.7
    3 - for last, your target report in 4.7
    So, answering your question, it is possible to make your target report (3) to generate a file and download it at 4.7 side (application server or, locally, presentation server, whatever you pass as file path to RFC function module, and then and therefore to target program, as long as you have authorization to). In a simpler approach you'll call a program in a remote system (in your scenario that 4.7) making use of a RFC function module (also in 4.7) to allow you to. All started through a RFC call from a program in your source system (ECC).
    Not sure my explanation was good enough, please let me know.
    Regards,
    Edgar

  • Calling Java API from ABAP using JCo

    I need to call Java API from ABAP & BSP also. For this I have got useful information related to JCo from following blog:
    /people/gregor.wolf3/blog/2004/08/26/setup-and-test-sap-java-connector-outbound-connection
    But, I am facing one problem. On executing Java program myExample5.java (recommended by Gregor Wolf) from command line I get following error message:
    Server JCOSERVER01 changed state from [ STOPPED ] to [ STARTED ]
    Exception in server JCOSERVER01:
    com.sap.mw.jco.JCO$Exception: (129) JCO_ERROR_SERVER_STARTUP: Server startup failed at Thu Apr 26 13:46:32 IST 2007.
    This is caused by either a) erroneous server settings, b) the backend system has
    been shutdown, c) network problems. Will try next startup in 1 seconds.
    Connect to SAP gateway failed
    Connect_PM  TPNAME=JCOSERVER01, GWHOST=gateway, GWSERV=3300
    LOCATION    CPIC (TCP/IP) on local host
    ERROR       hostname 'gateway' unknown
    TIME        Thu Apr 26 13:46:32 2007
    RELEASE     640
    COMPONENT   NI (network interface)
    VERSION     37
    RC          -2
    MODULE      ninti.c
    LINE        336
    DETAIL      NiPGetHostByName2: hostname 'gateway' not found
    SYSTEM CALL gethostbyname_r
    COUNTER     1.
    Can anyone please help me out. Do I need to do any setting?
    I'll surely reward points.
    Thanks & Regards,
    Nilesh Kumar

    Hi Nilesh,
    From the error i think that the error is with the hostname.
    Please enter the the Application Server IP/Hostname.
    If you are loggin to SAP System "XX1" from SAP GUI. Then click the change Item tab and see Application server name/IP let say "XX2" for hostname or "xx.xx.xx.xx" for IP.
    Replace <i>srv[0] = new Server("gateway","sapgw00","JCOSERVER01",repository);</i>
    with <i>srv[0] = new Server("XX2","sapgw00","JCOSERVER01",repository);</i>
    If App Server is IP then replace with
    <i>srv[0] = new Server("xx.xx.xx.xx","sapgw00","JCOSERVER01",repository);</i>
    Let me know if it is throwing any error.
    Thanks,
    Prashil

  • Calling java APIs from a function module

    Hi,
    Can someone tell me whether it is possible to call Java APIs from a function module in SAP system?
    Thanks in advance,
    Vineetha

    Hi,
    I guess you have changed the properties of screen only.
    I assume you have made a Ztransaction Code.
    When you define a transaction code, you need to specify a screen number for radio option program and screen and you need to specify a screen and not subscreen.( I think so!!)
    You changed only the code without changing the transaction code properties.
    Therefore, i think u r getting a dump.
    If you want to call your subscreen, call it in some screen and then call that screen using your transaction code properties.
    To include a subscreen screen in the subscreen area of the main screen and call its PBO flow logic, use the following statement in the PBO event of the main screen:
    PROCESS BEFORE OUTPUT.
      CALL SUBSCREEN <area> INCLUDING <prog> <dynp>.
    To call the PAI flow logic of the subscreen screen, use the following statement in the PAI flow logic of the main screen:
    PROCESS AFTER INPUT.
    CALL SUBSCREEN <area>.
    Refer:
    http://help.sap.com/saphelp_webas630/helpdata/en/9f/dbabfe35c111d1829f0000e829fbfe/content.htm
    Regards,
    Tanveer.
    Please mark helpful answers.
    Message was edited by: Tanveer Shaikh
    Message was edited by: Tanveer Shaikh

  • Not able to access javaFx charts from a remote system after using ext. jars

    We are facing following issue. Any recommendations to resolve these issues are highly appreciated.
    1. Not able to access javaFx charts from a remote system (More details at the end of mail).This is high priority requirement as we have a web based reporting application and users access it over our static IP address.
    We are using Java Fx charts in our web application where we built jnlp and jar files in a separate fx project and kept jar and jnlp’s inside our web project.
    It is working fine when we did not used any external jar files and remotely it is accessible. But when we used external jars our project is running on local
    system but remotely it is not working due to some path settings. We modified jnlp files where entry of jar files exists and modified the jar path as per our
    project. But still it did not work.
    Before using external jars inside our java fx project my jnlp looks like:
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/" href="JavaFXApplication3.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
    <jar href="JavaFXApplication3.jar" main="true"/>
    </resources>
    <application-desc main-class="com.sun.javafx.runtime.main.Main">
    <argument>MainJavaFXScript=misc.Test</argument>
    </application-desc>
    <update check="background">
    </jnlp>
    After modifying my jnlp as per my project as
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3_browser.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="/PiFx/FxFiles/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
    <jar href="/PiFx/FxFiles/JavaFXApplication3.jar" main="true"/>
    </resources>
    <applet-desc name="JavaFXApplication3" main-class="com.sun.javafx.runtime.adapter.Applet" width="500" height="500">
    <param name="MainJavaFXScript" value="misc.MyChart">
    </applet-desc>
    <update check="background">
    </jnlp>
    After adding external jars my jnlp looks like this :
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/" href="JavaFXApplication3.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="http://localhost:8083/servlet/org.netbeans.modules.javafx.project.JnlpDownloadServlet/F%3A/New+FX+Projects+08-12-
    2009/JavaFXApplication3/dist/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="http://dl.javafx.com/1.2/javafx-rt.jnlp"/>
    <jar href="JavaFXApplication3.jar" main="true"/>
    <jar href="lib/jdom.jar"/>
    </resources>
    <application-desc main-class="com.sun.javafx.runtime.main.Main">
    <argument>MainJavaFXScript=misc.Test</argument>
    </application-desc>
    <update check="background">
    </jnlp>
    I have modified the jnlp as per my project :
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3_browser.jnlp">
    <information>
    <title>JavaFXApplication3</title>
    <vendor>Saurabh</vendor>
    <homepage href="/PiFx/FxFiles/"/>
    <description>JavaFXApplication3</description>
    <offline-allowed/>
    <shortcut>
    <desktop/>
    </shortcut>
    </information>
    <resources>
    <j2se version="1.5+"/>
    <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
    <jar href="/PiFx/FxFiles/JavaFXApplication3.jar" main="true"/>
    <jar href="/PiFx/FxFiles/lib/jdom.jar"/>
    </resources>
    <applet-desc name="JavaFXApplication3" main-class="com.sun.javafx.runtime.adapter.Applet" width="500" height="500">
    <param name="MainJavaFXScript" value="misc.MyChart">
    </applet-desc>
    <update check="background">
    </jnlp>
    where PiFx is our project Name

    We have tried few things given in thread : http://forums.sun.com/thread.jspa?threadID=5401999
    Now it is not able to get the external jar file only
    exception: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar.
    java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
         at com.sun.deploy.net.DownloadEngine.getCachedResourceFilePath(Unknown Source)
         at com.sun.javaws.LaunchDownload.getSignedJNLPFile(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDescHelper(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDesc(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
    exception: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar.
    java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
         at com.sun.deploy.net.DownloadEngine.getCachedResourceFilePath(Unknown Source)
         at com.sun.javaws.LaunchDownload.getSignedJNLPFile(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDescHelper(Unknown Source)
         at com.sun.javaws.LaunchDownload.checkSignedLaunchDesc(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.prepareLaunchFile(Unknown Source)
         at sun.plugin2.applet.JNLP2Manager.loadJarFiles(Unknown Source)
         at sun.plugin2.applet.Plugin2Manager$AppletExecutionRunnable.run(Unknown Source)
         at java.lang.Thread.run(Unknown Source)
    Exception: java.io.IOException: Cannot find cached resource for URL: http://192.168.0.111:8086/PiFx/FxFiles/lib/jdom.jar
    JavaFXApplication3.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3.jnlp">
        <information>
            <title>JavaFXApplication3</title>
            <vendor>Saurabh</vendor>
            <homepage href="/PiFx/FxFiles/"/>
            <description>JavaFXApplication3</description>
            <offline-allowed/>
            <shortcut>
                <desktop/>
            </shortcut>
        </information>
        <resources>
            <j2se version="1.5+"/>
            <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
            <jar href="/PiFx/FxFiles/JavaFXApplication3.jar" main="true"/>
            <jar href="/PiFx/FxFiles/lib/jdom.jar" main="true" />
        </resources>
        <application-desc main-class="com.sun.javafx.runtime.main.Main">
            <argument>MainJavaFXScript=misc.MyChart</argument>
        </application-desc>
        <update check="background">
    </jnlp>JavaFXApplication3_browser.jnlp
    <?xml version="1.0" encoding="UTF-8"?>
    <jnlp spec="1.0+" codebase="/PiFx/FxFiles/" href="JavaFXApplication3_browser.jnlp">
        <information>
            <title>JavaFXApplication3</title>
            <vendor>Saurabh</vendor>
            <homepage href="/PiFx/FxFiles/"/>
            <description>JavaFXApplication3</description>
            <offline-allowed/>
            <shortcut>
                <desktop/>
            </shortcut>
        </information>
        <resources>
            <j2se version="1.5+"/>
            <extension name="JavaFX Runtime" href="/PiFx/FxFiles/javafx-rt.jnlp"/>
           <jar href="/PiFx/FxFiles/JavaFXApplication3.jar"  main="true"/>
            <jar href="/PiFx/FxFiles/lib/jdom.jar" main="true"/>
        </resources>
        <applet-desc name="JavaFXApplication3" main-class="com.sun.javafx.runtime.adapter.Applet" width="500" height="500">
            <param name="MainJavaFXScript" value="misc.MyChart">
        </applet-desc>
        <update check="background">
    </jnlp>Applet Code
    javafx({
    archive: "../FxFiles/JavaFXApplication3.jar",
    draggable: true,
    height:hgt,
    width:wdt,
    code: "misc.MyChart",
    name: appletName,
    id: appletName
    });

  • Query a List of Open WMI connections on a server from a remote system

    We are monitoring a specific windows service on a server using Sitescope remote monitoring. The sitescope system uses a WMI method to Check if the service on a specific server is up or not. Initially it works like a charm but over time the WMI connections from
    sitescope time out and we have been told that Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
    I am looking for a way to list open WMI connections to a specific service and/or server from a remote system and a way to kill those connections via a scheduled PowerShell (or batch/perl) script. I was able to list specific classes by -list parameter
    of the Get-WmiObject cmdlet
    but am unable to determine which class will give me the information that I require and the method to kill those connections.

    Sitescope is not closing the WMI connection it opens gracefully and the open connections pile up.
    1. It's not clear what "not closing the WMI connection it opens gracefully" means. WMI is a management technology that uses DCOM to connect to remote computers. (Is it really a question about DCOM?)
    2. It's not clear what specifically "open connections pile up" means and what problem(s) it causes.
    3. This is really a support question for that software's developer, not a question about WMI.
    -- Bill Stewart [Bill_Stewart]

  • Error while extracting data from a remote system

    Hi,
    I am facing problem while extracting data from a remote system. The connection is alright I can extract the table required from the remote system,but when I deploy it I get this error
    ORA-04052: error occurred when looking up remote object [email protected]@ORACLE_UBN_15_LOCATION1
    ORA-00604: error occurred at recursive SQL level 1
    ORA-28000: the account is locked
    ORA-02063: preceding line from UBNDW@ORACLE_UBN_15_LOCATION1
    here Scott.demo1 is the table and UBNDW is the sid of the remote system and ORACLE_UBN_15_LOCATION1 is the location. Please help me out with this
    Thanks

    Hi,
    IDOC's need to be processed manually either in OLTp or in BW depending on the failure. Error msg in monitor status will take u to either BW or OLTP whernever there is a prob. Process IDOC's , this will start the left over packets and will finish the load.
    we hav to check IDOC in WE05(t-code) and know the status these are WE51,WE52,WE53 AND GOTO WE19 there we hav to execute the exist Idoc will succesfully loaded Idoc
    Goto St22 see the short dump error msg..
    post if there any inf..
    Thanks,
    Shreya

  • How to call Java API from BSP?

    I have a requirement to call Java API from BSP application.
    I have checked the forum and found that it is possible by using some ABAP codes.
    However there is no pointer on how this is done.
    Can someone explain the details on how to call Java API from BSP is done?
    I found class CL_EJB_JAVA_OBJECT_METHODS to call a method in EJB but can't find function or SAP class to call Java API.
    Actually is there any BSP extention which can used to call Java API?
    Thanks,
    Hendri

    check out these weblogs, it should give you an idea how to go about it.
    /people/ignacio.hernndez/blog/2006/12/04/speech-synthesis-listen-the-application-server-is-talking-to-you
    /people/puru.govind/blog/2006/12/20/let-abap-speak
    Regards
    Raja

  • Re: Calling Windows API from Tool

    Hi,
    If it's only for the UserName on NT you can get the environment variable
    USERNAME.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Url : http://perso.club-internet.fr/dnguyen/
    Tim Sawyer a &eacute;crit:
    Hi George,
    I think you need to find out which Windows DLL implements the function and
    then wrapper it, using Fort&eacute;'s C Wrappering technique. I'm going to be
    doing this for the GetUserName() function, so we can login to our
    application automatically, using the username that the user logged into NT
    with.
    Hope this helps!
    Tim Sawyer
    PanCredit
    Leeds, UK.
    From: Aberdour George <[email protected]>
    Date: Thu, 6 May 1999 09:08:03 +1000
    Subject: Calling Windows API from Tool
    Hi,
    Does anyone know how to call Windows API calls such as WinExec,
    CreateProcess, RegSetValue, etc directly from TOOL ?
    These are just examples calls. I know some Windows API calls can be called
    via equivalent OperatingSystem method calls, but I would really like toknow
    if it is possible to call Windows API routines directly.
    Thanks in advance,
    George Aberdour
    TAFE NSW-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

    I'm afraid we have to make it work for NT, 95 and probably 98 too, so we're
    looking for something a bit more robust than the environment variable.
    Thanks,
    Tim Sawyer
    PanCredit
    Leeds, UK.
    From: Daniel Nguyen[SMTP:[email protected]]
    Reply To: [email protected]
    Sent: 07 May 1999 20:40
    To: Tim Sawyer
    Cc: '[email protected]'; '[email protected]'
    Subject: Re: Calling Windows API from Tool
    Hi,
    If it's only for the UserName on NT you can get the environment variable
    USERNAME.
    Hope this helps,
    Daniel Nguyen
    Freelance Forte Consultant
    Url : http://perso.club-internet.fr/dnguyen/
    Tim Sawyer a &eacute;crit:
    Hi George,
    I think you need to find out which Windows DLL implements the functionand
    then wrapper it, using Fort&eacute;'s C Wrappering technique. I'm going to be
    doing this for the GetUserName() function, so we can login to our
    application automatically, using the username that the user logged intoNT
    with.
    Hope this helps!
    Tim Sawyer
    PanCredit
    Leeds, UK.
    From: Aberdour George <[email protected]>
    Date: Thu, 6 May 1999 09:08:03 +1000
    Subject: Calling Windows API from Tool
    Hi,
    Does anyone know how to call Windows API calls such as WinExec,
    CreateProcess, RegSetValue, etc directly from TOOL ?
    These are just examples calls. I know some Windows API calls can be
    called
    via equivalent OperatingSystem method calls, but I would really like toknow
    if it is possible to call Windows API routines directly.
    Thanks in advance,
    George Aberdour
    TAFE NSW-
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>
    To unsubscribe, email '[email protected]' with
    'unsubscribe forte-users' as the body of the message.
    Searchable thread archive <URL:http://pinehurst.sageit.com/listarchive/>

  • Calling HRMS APIs from a DotNet plateform

    Hello,
    I am new on this forum and I have difficulty in beginning, i don't know if it's the right category to post my question.
    I'm working in a project looking for a solution of revision of the self-service's interfaces of oracle e-business suite, indeed I need an example or a document which can help me for using the HRMS APIs of oracle e-business suite via a dotNet plateform or SharePoint application.
    I have to work on a middelware allowing retreiving and persisting data from oracle e-business suite database using oracle HRMS APIs like hr_appraisals_api. So haw can i call these APIs from .NET application how can i use a .NET code to call these api's ?
    Can you help me please ? i'm waiting for your answers if possible and this is my e-mail address if necessary "[email protected]" .
    I would be so grateful if someone can help me. Thank you in advance.
    Cordially.

    HRMS PLSQL API can be called from Java and .Dot net support to execute Java API . This way it could be done.
    I have not idea how call PLSQL API from direct .Dot net code.
    Thanks

  • How to call SOAP API from JavaScript

    Hi,
    I'm trying to call the SOAP API to get statistics about emails. Are there any examples on how to call the API from JavaScript?
    Here is a link to my original question about using the REST API. REST API URL for email statistics
    Thanks,
    Tim

    Tim,
    In order to consume a SOAP API I recommend you use something other than JavaScript.
    Any platform can offer you a good SOAP client should be OK. (.Net, Java, php, Ruby, python).
    I didn't see anyone successfully used javascript and consume the Eloqua SOAP API.
    I know you can create a SOAP client in Java script but it will be too much work to handle the Eloqua response in some cases.
    Regards,
    Daniel

  • How to call a RFC of a remote system from an ABAP webdynpro component

    Dear Experts,
    I am a newbie in ABAP Webdynpro.
    I am working on a requirement where I have a webdynpro component on ECC system.I need to call a RFC located on CRM system from my webdynpro component on the ECC system.
    How do I do that ?? Please help.
    Regards,
    Mamai.

    Calling RFC from some other system is same as local except the difference is that you have to give destination name while calling.
    And the regarding the method of calling it depends on your FM.
    if it is big RFC with complex structure, you can create the service call for it with destination given as RFC desitination.
    if it is simple straight forward RFC you can directly call it.
    for creating RFC service call call use this method
    1. Starting the Wizard
    To start the wizard, position the cursor on the Web Dynpro component to be edited in the object list at the left margin of the
    workbench window. Open its context menu and choose the entry Create->Service Call. The wizard is started and leads you
    through the creation process.
    Press Continue.
    2. Choice of Controller
    On the second dialog window of the wizard, you can choose whether the service call is to be embedded in an existing
    controller or whether a new controller is to be created for this purpose. Service calls can only always be embedded in
    global controllers u2013 that is, in the component controller or in additionally created custom controllers. It is not possible, to
    embed service calls in view controllers.
    a. Select radio button Use Existent Controller
    b. Do not change the default entry for component: <CC name>
    c. Enter for controller COMPONENTCONTROLLER
    d. Press Continue.
    3. Service Type and Service Selection
    a. You now select, which service type should be used for this service call. Select radio button Function Module. Fill the
    destination here. Press Continue.
    b. Select the service: for Function Module enter <RFC name>. Press Continue.
    4. The Required Methods and Context Elements
    On the two subsequent dialog windows, default values are listed for giving names to the context nodes and attributes
    required by the service call as well as to the required methods. The proposed names are based on the names of the
    embedded service, but you can change them as required. However, heed the respective notes in the corresponding dialog
    box.
    a. Adapt Context: Select from Nodes/Attributes . Press Continue.
    b. Specify Method Name: leave all entries as provided: Component:  Controller: COMPONENTCONTROLLER Method: EXCUTE_ Press Continue.
    5. Completing the Choice
    When you have confirmed the last dialog box, the generation is triggered. Afterwards you now have the required methods
    and contexts at your disposal for using them within your Web Dynpro component.
    or if you want to call directly the use the call statement with destination

Maybe you are looking for