Java Proxies from PI 7.0 to PI 7.1

HI Friends,
I have inbound java proxies and java mappings involved in my interface flow.
we are migrating from PI 7.0 to PI 7.1.
Can any one please suggest if any things need to be done to migrate from 7.0 to 7.1.
i mean any code changes or any libraries need to be imported...
Thanks,
Madhu.

Hi Madhu,
> Can any one please suggest if any things need to be done to migrate from 7.0 to 7.1.
> i mean any code changes or any libraries need to be imported...
No need to change the java code, but you have to redeploy the java proxy.
Check 29th page onwards
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/8085e299-718c-2a10-de94-928f62b763ce?quicklink=index&overridelayout=true
Regards
Ramesh

Similar Messages

  • How to Create JAVA proxies in PI 7.1 using NWDS

    Hi PI SDNers,
    Please guide me on "how to create JAVA proxy in PI 7.1 using NWDS". I used to create java proxies from Integration build tools->generate Java Proxy in Pi 7.0/XI3.0; Please advise me.
    Thanks in Advance...
    Ravi Kanakam

    Check if these threads help you:
    Java Proxy with NWDS 7.1
    Re: Java Proxy & NWDS
    Regards,
    Abhishek.

  • Error connecting MDM system from XI through Java proxies-standard component

    Dear Friends
    We are trying to connect to the MDM system from XI through Java proxies(i.e standard components),in relation to that we have done the following:
    1)registered the interfaces
    a)http://XIserver:port/ProxyServer/register?ns=http://sap.com/xi/GDSConsole&interface=GDS_Data_Import_In&bean=localejbs/sap.com/GDS/DataImport&method=gDSDataImportIn
    b)http://XIserver:port/ProxyServer/register?ns=http://sap
    .com/xi/GDSConsole&interface=GDS_DP_In&bean=localejbs/sap.com/GDS/Dat
    aPoolIn&method=gDSDPIn
    2)Deployed the ears within Build10.zip, i.e
    a)GDS_1.0.6.1_Build10.ear and
    b)GDS_ExternalValidations_1.0.6.1_build10.ear
    3)set the sap.application.global.properties file inside the  GDS_1.0.6.1_Build10.ear
    as follows:
    SAP application properties
    #!Path to GDS folder containing the configuration files
    ConfigurationFilesLocation=/usr/sap/P70/DVEBMGS00/j2ee/cluster/server0/apps/sap.com/GDS
    #!External validation modules (EJB names) delimited by semicolon character.
    ExternalValidationModules=ExternalValidations_EJBs
    #!IP or server name of MDM server
    MDM.server=172.18.139.200
    #!MDM repository port as appears in MDM console
    MDM.port=2000
    #!MDM repository name as appears in MDM console
    MDM.repositoryName=GDS_1
    #!version of MDM server and connector
    MDM.version=5.5.42.103
    #? secure=true
    #! MDM Admin user password
    MDM.AdminPassword=
    #!Data pool name - should match a remote system defined in MDM console
    DestinationDataPoolName=
    #!Data pool 13 digits GLN
    DestinationDataPoolGln=
    #!Provider 13 digits GLN
    ProviderGln=
    #!Provider time zone e.g. EST
    ProviderTimeZone=
    #!Data pool schema URL
    SchemaLocation=
    #!Message Timeout
    MessageTimeout=10
    #!Backend import client system - should match a remote system defined in MDM console.
    ImportData.ClientSystem.Name=R3
    !# The format that dates will appear in the UI
    #Available date formats:      MM/dd/yyyy
    #                     dd/MM/yyyy
    #                     MM-dd-yyyy
    #                     dd-MM-yyyy
    #                     dd-MMM-yyyy
    #                     dd/MMM/yyyy
    #                     MMM dd, yyyy
    Where MM=1-12, MMM=Jan,Feb,Mar,etc.
    Note: Extreme caution should be taken when choosing to use month names,
    #          since different regional settings on the client and server machines
    #          will cause dates to be uninterpretable.
    #          It is strongly advised to use numeric month format, eg. MM-dd-yyyy, etc.
    DateFormat=dd/MM/yyyy
    DEBUG.SaveIncomingMessagesToFile=false
    #!defines if incoming message will be saved in arc folder
    DEBUG.ImportData.SaveArchive=false
    #!defines if outgoing message will be saved
    DEBUG.SaveOutgoingMessagesToFile=false
    But still we are getting errors as:
    a)com.sap.aii.af.ra.ms.api.MessagingException: com.sap.mdm.gds.proxy.dataimport.GDSConsole_Message_Exception: : com.sap.aii.proxy.xiruntime.core.ApplicationFaultException: com.sap.mdm.gds.proxy.dataimport.GDSConsole_Message_Exception
    inside SXMB_MONI
    when we trigger an Idoc and try to send the data inside the MDM GDS system.
    and
    b)Failed to send message,reason:Exception on method gDSDPOut
    when we try to register something,even after the data is validated by the system.
    Can anybody help??
    It is of urgent requirement.
    Edited by: Arjun Ghose on Jul 15, 2008 4:36 PM

    Hi ,
       I found a document which says that MDM4J is the legacy API and is considered deprecated .The MDM Java API is the new one .I have both of them in the java build path . I am not sure if this is that cause of the problem .
    Now I had a look at the javadoc for the new API but I am not able to locate the class to obtain a connection to the MDM server from a custom application being built in Netweaver Developer Studio . Can someone help me out with the same ?What would be the code to obtain the connection to the MDM server with the new JAVA API ?
    Regards
    DeepaK Singh

  • Learning Java proxies - landscape question

    Hi guys,
    I could use a little help to learn Java Proxies, I'm just starting to get familiar with Java, I'm coming from the ABAP side.
    First and foremost what do I need from the system point view?
    We have an XI box and using file/FTP/IDoc adapters and also ABAP Proxies, I wrote some Java (mapping)functions, I am familiar with these.
    But for a Java proxy, I would need a separate Java server(?) to run the application on, is this correct?
    Can I use my own PC for this? (for learning purposes), I have NWDS installed on my PC.
    What are the steps to write a small simple Java Proxy.
    I would very much appreciate some help, guys, how do I start?
    Thanks a lot,
    Viktor

    Hi Viktor,
    You can work from your own machine. Becuase in Java Proxy scenarios, you are deploying EAR files in the XI server, and thru XI , you are executing the method written in the Java Application.
    Just check these links-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    /people/rashmi.ramalingam2/blog/2005/06/25/an-illustration-of-java-server-proxy
    Demo ~
    https://www.sdn.sap.com/irj/sdn/docs?rid=/webcontent/uuid/110ff05d-0501-0010-a19d-958247c9f798#jdi [original link is broken]
    Hope this helps,
    Regards,
    Moorthy

  • Java maping and java proxies

    Hi
    Can i use in the java mapping proxies classes generated for interfaces?
    Or i can get in trouble because of library reference.
    Florin

    Proxies are essentially the APIs, or the programming lines of code, that are generated for the target application language like ABAP/JAVA/.Net.
    In some of the real time applications, each time it's not necessary to have particular Business Systems for send/ receive messages with SAP XI.
    Sap XI provides diff. options to generate interfaces with ABAP / Java Applications such as as Proxies.
    <b>ABAP Proxy :</b>
    1. With ABAP proxy generation function it will be possible to generate ABAP proxy objects to an SAP system from an interface description in the SAP Exchange Infrastructure Integration Repository.
    2. ABAP proxy objects can only be generated for SAP systems that are based on SAP Web Application Server 6.40.
    If you use ABAP Proxy , you can reduce the overhead calling the function again and again.
    /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies - Activate Proxy
    /people/siva.maranani/blog/2005/04/03/abap-server-proxies - ABAP Server Proxy
    /people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy - ABAP Client Proxy
    Re: JDBC Sender select/update problem
    <b>Java Proxy:</b>
    1. JAVA proxy is used for J2EE based systems communicating with XI for sending or processing msgs in those J2EE based systems
    2.It allows java applications to interact directly to Integration server with avoiding the configurations for the special adapters
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab - How To Work with XI 3.0 Java Proxies
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9- Java Proxies and SAP XI - The Inside Story, Part 1
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d - Java Proxies and SAP XI - The Inside Story, Part 2
    Please let me know if you need any more details on this.
    Reward Points if found useful **

  • Inetgrating MDM Java API's with Java proxies on XI side

    Hello friends
    Can anyone help me on integrating MDM JAVA API's used for talking to MDM Server and the Javaproxies we generate from the XI side.I am having an application class inside the Java API's (it contains the main function)which triggers the functionality on the MDM side.But how to trigger it from the Java proxies side??I can get the different fields that I have to send  in the impl.java program of my generated proxy,but how to trigger the MDM Java API's from inside this.Also there is one problem I needed to pass the datatype fields from the Javaproxy(XI)side to the CRUDMAINTABLERecord program..Since importing the javaproxy package is giving me an error(I don't know why)I don't know how to pass these datatypes to the CRUD program.Please help me out on this urgently.Thank you all in advance.

    Hi Deepthi,
    I had used the below code for retrieving the workflow's id's
      RetrieveWorkflowsCommand RetriveworksFlows = new RetrieveWorkflowsCommand(connections);
    RetriveworksFlows.setSession(session);
    try{
        RetriveworksFlows.execute();
    catch(Exception e)
    WorkflowProperties[] workflowpro = RetriveworksFlows.getWorkflows();
    WorkflowId[] workflowid = new WorkflowId[workflowpro.length];
    for(int n=0;n<workflowpro.length;n++)
    workflowid[n] = workflowpro[n].getId();
    String workfloName = workflowpro[n].getLaunchType()+"";
    System.out.println("id--"workflowid"name"+workfloName);
    and for creating the workflow job id i had written the below code
    CreateWorkflowJobCommand workflowjobcommand = new CreateWorkflowJobCommand(connections);
    workflowjobcommand.setWorkflowId(workflowid[0]);
    workflowjobcommand.setRecordIds(recordId);
    workflowjobcommand.setSession(session);
    try{
        workflowjobcommand.execute();
    catch(Exception e)
    then to start the workflow what  i  have to do .
    please expain me

  • Java Proxies - Logging Mechanism

    Dear All,
    I have a scenario where DB-DB synchronus scenario.PI has to pick the data from sender DB system and Java Proxy is used to connecct to Target system and insert the records. This is a batch processing and if any records are failed, they have to be skipped and process the next records. Ex: If 100 records, then 5,15,25,35,45,55th records are failed, then 94 records are success and 6 records are failed. The target DB then sends the response back to sender system and update the Flag at sender system with 1 for success and 2 for failure records.
    I am not sure where can I see the logging of Java Proxies connecting to target DB ? If any connection error occurs, where can I see that messages in PI for monitoring etc...
    Any pointers will be appreciated.
    Regards,
    Srini

    Hi Subbu,
    Plz check with the following links ..finally you will get an good idea about Java Proxies.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    http://help.sap.com/saphelp_erp2005/helpdata/en/97/7d5e3c754e476ee10000000a11405a/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/5b/12b7e6a466456aa71ef852af033b34/frameset.htm
    http://help.sap.com/saphelp_erp2005/helpdata/en/c5/7d5e3c754e476ee10000000a11405a/frameset.htm
    Thanks,
    Praveen Kumar

  • Calling a java API from XI

    Hi
    We need to call a java API on a J2EE system from SAP XI. What is the approach to be followed for these scenarios.
    Thanks
    Sabyasachi

    Hi Stefan
    Is there any other way of doing this using java proxies or HTTP adapters.Please Advise.Thanks

  • Need help on using java proxies

    Hai I have a java application with some fields like former name , address, so on.. if i entered all fields with required information it will be modified in R/3 system through Xi ......... may be it is solved by using java proxies if it is right plz give me good information from basics and how can I use the java proxies to solve my requirement

    Hi,
    Refer
    Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 1
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    Java Proxies and SAP Exchange Infrastructure - The Inside Story, Part 2
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    SAP Exchange Infrastructure 3.0: Java Proxy Runtime 3.0 - J2EE Integration
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/30572c6a-d311-2a10-99ab-f646ec3b5b12
    How to Work with Java Proxies
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d06315a6-e66e-2910-039c-ba8bbbd23702
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    Java Proxies in XI
    https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=java+proxy&adv=false&sortby=cm_rnd_rankvalue#
    SAP Network Blog: Pre requisites for Client Java Proxies
    /people/yugapreetha.t/blog/2007/12/03/pre-requisites-for-client-java-proxies
    U can work with java proxies,Check some links on proxies.
    Concepts and examples for Proxy, Abap Client Proxy and Abap server Proxy
    Asyn Inbound java proxy
    JAVA Proxies:
    Asynchronous inbpund java Proxies
    /people/prasad.ulagappan2/blog/2005/06/27/asynchronous-inbound-java-proxy
    Proxy Generation- For Java proxy, create a Message Interface and then generate a proxy for that message interface.
    http://help.sap.com/saphelp_nw2004s/helpdata/en/86/58cd3b11571962e10000000a11402f/content.htm
    More on Java Proxy-
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7d4db211-0d01-0010-1e8e-9b07fc2113ab
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a068cf2f-0401-0010-2aa9-f5ae4b2096f9
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/f272165e-0401-0010-b4a1-e7eb8903501d
    http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
    Thanks
    Swarup

  • Call Client Java Proxy from Server Java Proxy

    Hi Gurus!!
    I'm trying to call a Client Java Proxy from a Server Java Proxy.
    Is possible to do this? I think must be possible.
    I have called this Client Java Proxy from another application, and run ok.
    I have tried to call it following the Guide to call Java Client Proxies:
                    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome queryOutHome = null;
                    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeRemote queryOutRemote = null;                     
                    try {
                         //      Get naming context
                         Properties p = new Properties();
                         p.put(
                              Context.INITIAL_CONTEXT_FACTORY,
                              "com.sap.engine.services.jndi.InitialContextFactoryImpl");
                         p.put(Context.PROVIDER_URL, "myurl:50104");
                         p.put(Context.SECURITY_PRINCIPAL, "MMIGUEZ");
                         p.put(Context.SECURITY_CREDENTIALS, mypasswrod);
                         Context ctx = new InitialContext(p);
                         Object ref = ctx.lookup("RobotOut");
                         //      Look up jndi name of proxy bean
                        try {
                         queryOutHome =
                              (MIRobotOut_PortTypeHome) PortableRemoteObject.narrow(
                                   ref,
                                   MIRobotOut_PortTypeHome.class);
                        } catch (Exception e) {
                             throw new RuntimeException(e + "1");
                         //        Get Remote interface
                         queryOutRemote = queryOutHome.create();
                    } catch (Exception e) {
                        throw new RuntimeException(e + "2");
    but I get this error
    "com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome"
    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortTypeHome is the corresponding PortTypeHome to the Client Java Proxy.
    I have tried to call too calling directly from the server Java Proxy to the method correcponding to the Client Java Proxy. The error I get is:
    "com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTRobot_Type: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTRobot_Type"
    Tha call to the client is:
    es.navantia.xi.mm.dispositivosRobotizadosKasto.MIRobotOut_PortType clase = null;
    es.navantia.xi.mm.dispositivosRobotizadosKasto.DTRobot_Type client_req = null;
    es.navantia.xi.mm.dispositivosRobotizadosKasto.DTRobotResponse_Type client_res = null;
    client_res = clase.mIRobotOut(client_req);
    Please, any help will be useful.
    Thanks and regards,
    Manuel Míguez.

    Hi,
    Now I get another error message:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/MITextoOut_PortTypeRemote: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/MITextoOut_PortTypeRemote
    Now, my source is:
      MITextoOut_PortTypeHome queryOutHome = null;
      MITextoOut_PortTypeRemote queryOutRemote = null;
      try {
    //     Get naming context
    Context ctx = new InitialContext();
    //     Look up the EJB name in the environment
    Object ref = ctx.lookup("java:comp/env/ejb/TextoOut");
    // Object ref = ctx.lookup("java:comp/env/ejb/MITextoOut_PortTypeBean");
    //     Cast to Home interface
         queryOutHome = (MITextoOut_PortTypeHome)
    PortableRemoteObject.narrow(ref,
    MITextoOut_PortTypeHome.class);
    //     Get Remote interface
    queryOutRemote = queryOutHome.create();
    } catch (Exception e) {
    System.out.println("RemoteException occurred: "+e.getMessage());
    e.printStackTrace();
    //return;
    try {
          queryOutRemote.$messageSpecifier();
    } catch (RemoteException e2) {
          // TODO Auto-generated catch block
          e2.printStackTrace();
    DTTexto_Type Texto_type = new DTTexto_Type();
    Texto_type.setTexto(req_texto);
    DTTextoResponse_Type Texto_response = new DTTextoResponse_Type();
    try {
         Texto_response = queryOutRemote.mITextoOut(Texto_type);
    } catch (SystemFaultException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
    } catch (ApplicationFaultException e1) {
          // TODO Auto-generated catch block
          e1.printStackTrace();
    } catch (RemoteException e) {
          // TODO Auto-generated catch block
          e.printStackTrace();
    I have tryed removing queryOutRemote.$messageSpecifier() and I get the error:
    com.sap.aii.af.ra.ms.api.DeliveryException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTTexto_Type: com.sap.aii.proxy.xiruntime.core.XmlInboundException: Error invoking method mIRobotIn of proxy bean $Proxy351: es/navantia/xi/mm/dispositivosRobotizadosKasto/DTTexto_Type
    Somebody knows what could be the cause of these errors?
    Thanks and regards,
    Manuel.

  • Reading Java files from a EAR file

    I want to read all Java files from a EAR file and from inner (inside EAR) EAR or WAR file with out unpacking.
    suppose "Demo.ear" contaions the following files:
    abc.java
    programs / a.java
    programs / b.java
    src / index.java
    src / com / myFolder / main.java
    src.war
    and suppose "src.war" again contains some java files inside differenet folders.
    The main problem is that i can read all java files from "Demo.ear" but unable to reading from "src.war" b'coz my program is using JarFile class constructor which needs a archive file path, So only top level archive having the path but not the inner archives.
    So, pls help me out to this problems
    Thanks in advance

    Maybe you can use java.util.zip.ZipInputStream to
    open the Ear and recursively to open the files in
    it; I'm not sure whether this will result in a full
    unpacking of the file in some temporary directory,
    though.
    Please let me know if it worked the way you wanted,
    I'm curious about it.This jerk just created the third thread about the same topic, because he didn't understand your suggestion, which I already provided earlier.
    http://forum.java.sun.com/thread.jspa?threadID=790015

  • How to reference multiple instances of the same Java object from PL/SQL?

    Dear all,
    I'm experimenting with calling Java from PL/SQL.
    My simple attempts work, which is calling public static [java] methods through PL/SQL wrappers from SQL (and PL/SQL). (See my example code below).
    However it is the limitation of the public static methods that puzzels me.
    I would like to do the following:
    - from PL/SQL (in essence it needs to become a forms app) create one or more objects in the java realm
    - from PL/SQL alter properties of a java object
    - from PL/SQL call methods on a java object
    However I fail to see how I can create multiple instances of an object and reference one particular object in the java realm through public static methods.
    My current solution is the singleton pattern: of said java object I have only 1 copy, so I do not need to know a reference to it.
    I can just assume that there will only ever be 1 of said object.
    But I should be able to make more then 1 instance of an object.
    To make it more specific:
    - suppose I have the object car in the java realm
    - from PL/SQL I want to create a car in the java realm
    - from PL/SQL I need to give it license plates
    - I need to start the engine of a scpecific car
    However if I want more then 1 car then I need to be able to refrence them. How is this done?
    Somehow I need to be able to execute the following in PL/SQL:
    DECLARE
    vMyCar_Porsche CAR;
    vMyCar_Fiat CAR;
    BEGIN
    vMyCar_Porsche = new CAR();
    vMyCar_Fiat = new CAR();
    vMyCar_Porsche.setLicensePlates('FAST');
    vMyCar_Porsche.startEngine();
    vMyCar_Fiat.killEngine();
    END;
    Thanks in advance.
    Best Regards,
    Ruben
    My current example code is the following:
    JAVA:
    ===
    CREATE OR REPLACE AND RESOLVE JAVA SOURCE NAMED CODAROUL."RMG/BO/RMG_OBJECT" as package RMG.BO;
    public class RMG_OBJECT {
    private static RMG_OBJECT instance = new RMGOBJECT();
    private String rmgObjectNaam;
    private RMG_OBJECT(){
    this.rmgObjectNaam = "NonDetermined";
    public static String GET_RMGOBJECT_NAAM () {
    String toestand = null;
    if (_instance == null) {toestand = "DOES NOT EXIST";} else { toestand = "EXISTS";};
    System.out.println("instance : " + toestand);
    System.out.println("object name is : " + _instance.rmgObjectNaam);
    return _instance.rmgObjectNaam;
    public static Integer SET_RMGOBJECT_NAAM (String IN)
    try
    _instance.rmgObjectNaam = IN;
    return 1;
    catch (Exception e)//catch
    System.out.println("Other Exception: " + e.toString());
    e.printStackTrace();
    return 5;
    } //catch
    PL/SQL Wrapper:
    ==========
    CREATE OR REPLACE FUNCTION CODAROUL.SET_RMGOBJECT_NAAM(NAAM IN VARCHAR2) return NUMBER AS
    LANGUAGE JAVA NAME 'RMG.BO.RMG_OBJECT.SET_RMGOBJECT_NAAM (java.lang.String) return java.lang.Integer';
    Calling from SQL:
    ==========
    CALL dbms_java.set_output(2000);
    select CODAROUL.GET_RMGOBJECT_NAAM() from dual;
    Edited by: RubenS_BE on Apr 6, 2012 5:35 AM
    Edited by: 925945 on Apr 6, 2012 5:41 AM

    You can do this by manually creating a new iterator binding in your binding tab.
    So instead of dragging the VO directly to the page, go to the binding tab, add a new executable iterator binding, and point to that one from your ELs in the page itself.

  • Is there an easy way to call a java class from an applet?

    Does anyone know of an easy way to call a server based java class from an applet? Has anyone done it or came across it? If yes how/where?
    Cheers, Chris.

    I'm not sure about the issue. Are you talking about "servelets"? "RMI"? Take a look at those issues.

  • How do I call a simple java class from a bpel process?

    Hi.
    In JDeveloper 10.1.4.3.0 I've created a simple java class that does an ftp get operation followed by an unzip. The class uses some 3rd part libraries (jars).
    I want to use a simple bpel process to schedule a daily execution of this java class, and deploy it all to our SOA-server, - and was looking into using the <bpelx:exec> function.
    The java class and the bpel process is all stored in the same JDeveloper project.
    How do I put this together so that both my java class and the necessary jars are available to the bpel process?
    I've looked into the JavaExecSample.bpel, and it's says something about "...the class com.otn.samples.javaexec.CreditCalculator is locally packaged with this BPEL process".
    How do I do that?
    Can I make it and test it all locally from my workstation (only JDeveloper installed, I guess there's nothing that can execute the bpel code?), or do I have to compile class etc (make war-file?) and deploy to SOA server (BPEL-INF/lib or classes?) before anything can be tested?
    (I guess all this is simple, once you know how, but being a newbie to this I need a shove in the right direction :-)
    Regards,
    -Haakon-

    To create a java class and dependent jars inside the BPEL process project you need to do the following:
    1. Right click on your BPEL process project and select New and then Java Class from the Items.
    2. Make the BPEL process project, JDeveloper would compile the java classes and add them into the BPEL suite case jar, see the output folder and check the BPEL suite case jar file for java classes and dependent jars.
    You can test your Java classes from JDeveloper IDE, no need to deploy the classes on SOA server. When you make the BPEL project it compiles .bpel files and Java classes. You can test your classes once .bpel file and java classes compiled successfully.
    Regards,
    Dharmendra
    http://soa-howto.blogspot.com

  • How can I call a java class from within my program?

    I was wondering if there's a platform independent way to call a java class from my program.

    Here's my scenario. I'm working on a platform independent, feature rich, object-oriented command prompt program. The way I'm designing it is that users can drop classes they write into my bin directory and gain access to the class through my program. For example, they drop a class named Network.class in the bin directory. They would type Network network at my command prompt and gain access to all the methods available in that class. They can then type system.echo network.ipaddress() at my prompt and get the system's ip address. I have it designed that there's a server running in the background and the clients connect to my port. Once connected the end-user can enter their user name and password and gain access to the system. When they type a command they actually call another java program which connects to my server using a seperate thread. They can then communicate back and forth. I have it set that everything has a process id and it's used to keep track of who called what program. Once the program is done it disconnects and closes. Rather than getting into the nitty gritty (I didn't want to get into heavy detail, I know how everything will work) I'm really interested in finding out how I can call a java program from my program. I don't want it to be part of the app in any way.

Maybe you are looking for

  • How to save an project in iMovie 10

    I am familiar with iMovies 9 and using OSX 10.6.8.  Unfortunately I have a new MacPro on OS 10.9.2 and iMovie10 (give me back my old MAcbook any day). I have finished making the movie and saved it on the desktop in mp4 format.  All I want to do now 

  • Urgent HELP - How to reduce the number of entries in table MESYBODY?

    Does anyone know how to reduce the number of records in synchronization table MESYBODY and MESYHEAD?  The reason I wanted to reduce these tables is because I believe they have so many duplicated entries that causes extremely slow performance everytim

  • Error when adding connection in VS2012

    Hi, I'm using Oracle 11.2.0.3 x64 on windows 7 x64. Using Visual Studio 2012 Update 2. I just finished installing ODP.NET_Managed_1120360_32bit_Beta using OUI. The first thing I wanted to test was the Oracle tool installed in Visual Studio by adding

  • Zpca_c03, delta reset problem

    Hi All, I have a problem with the delta loads to ZPCA_C03. We have done full loads till March, monthly wise and set the delta init flag during a system down time. Again we happened to do December data re-load to the cube. As the cube is duplicated wi

  • Did anyone get the Triple bundle promotion for $79.99 & free DVR? Does that promotion exist?

    I signed up for the triple bundle TV/phone/internet for $79.99 per month for 24 month contract, and free DVR for life time on Dec 10. It was advertized on Verizon website as well as on the flyer that was passed through my door. I received the confirm