Calling Synchronous Interface from Asynchronous in BPM

Hi,
Are there any articles I can browse through or review which explains how to call Synchronous Abstract Interfaces from Asynchronous Interfaces in BPM.
Regards,
Amar Nemalikanti

Hi Amareshwar
  check these blogs, hope they give you the required information,
  /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm
Regards
Vishnu

Similar Messages

  • Call ODI interface from Business Rule

    Hi All,
    Is there any way to call ODI interface from business rule?
    I search the forum and found there is a way to call java code from business rule by CDF.
    ODI provide a dos batch file to invoke the ODI interface. But, how can I call batch file from business rule.
    I am using planning version 11.1.1

    Thanks.
    I can call the JAVA from business rule after assign the security in udf.policy.
    And, I am working on calling ODI scenario. However, I found connection refuse as follows.
    ava.net.ConnectException: Connection refused: connect
         at java.net.PlainSocketImpl.socketConnect(Native Method)
         at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
         at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
         at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
         at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
         at java.net.Socket.connect(Socket.java:520)
         at java.net.Socket.connect(Socket.java:470)
         at java.net.Socket.<init>(Socket.java:367)
         at java.net.Socket.<init>(Socket.java:180)
         at oracle.odi.sdk.invocation.internal.AgentNetworkCmd.<init>(AgentNetworkCmd.java:38)
         at oracle.odi.sdk.invocation.OdiInvocation.<init>(OdiInvocation.java:107)
         at com.gammonconstruction.odi.ODICaller.main(ODICaller.java:
    do I need to add scheduler agent for java request ?
    and, how to add the agent if need?

  • Can I call an interface from java

    Dear All,
    Can I call an interface from java in ODI ?
    Best Regards
    Arc

    Short answer, Yes.
    Long answer - you must create a scenario from the interface (the scenario is the "executable" code), right-mouse-button on the interface in the tree and "Generate Scenario". This can then be called using the invocation api this is documented in your <installationdirectry>/oracledi/doc/sdk/invocation. This points you at all the necessary classes etc to use.

  • Send Synchronous message from Oracle to BPM to CRM in RWB

    Hi All,
    I have a scenario like this Oracle Sender (synchronous interface)-> calling ccBPM -> CRM which is a synchronous process.
    Oracle sends an external message to CRM and get the response back. This is achieved using ccBPM due to some internal calls from ccBPM to MDM also sycnhronously.
    So there are three receive determination created
    Oracle to ccBPM
    ccBPM to MDM
    ccBPM to CRM
    Now, the question is I have some message to be send from RWB for testing whether this process works properly or not in staging system. How do I send the message in RWB for this kind of process. This is a syynchronous process
    And sender should be oracle system, receiver shuld be what? ccBPM or CRM from RWB perspective.
    Hope you all got the question.
    Thanks
    Mike

    Hi,
    How do I send the message in RWB for this kind of process. This is a syynchronous process
    And sender should be oracle system, receiver shuld be what? ccBPM or CRM from RWB perspective.
    You need to mentioned Oracle as sender & receiver would be BPM.
    BTW, why do you put a receiver name, you should only supply Sender parameters (Sender Name, Interface & Namespace), Let PI , determine the receiver which is true testing.
    Regards
    Sushil

  • How to exclude synchronous interfaces from component based message alerting

    Hi Pi experts,
    We are configuiring Alerts in PI 7.3 single stack.If we have 'n'number of interfaces, and if we configured general alerts for all.How to exclude synchronous interfaces in that.Alerting is for asynchronous interfaces only.How to do that.
    Please advice on this.
    Regards
    Suneel

    Hello,
    >>What are your approaches regarding this requirement in the context of java-only?
    I would suggest you to schedule jobs like this:
    Customize Alerts Using Job in PI 7.31/PO
    >> alerts are consumed according to the given interval and not in "real time" when error occurs, today solution using BADI is "real time" - if possible I would prefer "real time" solution
    Check this:
    Michal's PI tips: How to trigger an alert for Component Based Message Alerts (CBMA) via "API" ?
    >>an separate service determine the actual alert count would be helpful to provide the correct value for maxAlerts, this have to be called beforehand
    I haven't tried it but i think u can do that, since these consumers are nothing but JMS queues only so i think there will be a method to read number of alert counts.
    >>In history I saw emails generated by the standard alert consumer which only contain details for the first alert, in my case I need details especially the message id for all errorneous messages
    If ur max alert parameter is greater than 1 then u should see multiple alert text  (along with message id and other details) in ur email message.
    Thanks
    Amit Srivastava

  • Calling Remote interface from client

    Hi there!
    I am working on a BMP (using weblogic 6.1)
    My problem is - How do I contact remote interface from client. In my jndi tree I have mentioned only Home interface. Right now I am calling my remote interface like this:
    //contact home interface
    Object obj = ctx.lookup("APIHome");
    APIHome home = (APIHome) javax.rmi.PortableRemoteObject.narrow(obj, APIHome.class);
    //creating remote somehow - I got this clue from a website
    rem = home.findByPrimaryKey(new EntityPK("test1","test2"));
    //calling getter & setter methods
    rem.setWidth()
    rem.getId();
    This works...but doesn't make any sense to me. Why should we initialize remote interface as above. Or is there any other option. Can somebody please explain me more clearly about this concept.
    Thanks very much
    regards
    -Manasvi

    The HomeInterface contains two types of methods - create and find. The create methods create an instance of the entity bean(i.e., a record in the database) and the finder methods finds an existing record in the database, constructs an entity bean representing this row and returns the remote interface of this bean to the client for further manipulations.

  • A Synchronous answer from Asynchronous BPEL (How to?)

    Good Afternoon!
    A have an asynchronous BPEL with an exposed webservice.
    I need BPEL get back a some kind of information at the moment he was called (e.g. a Conversation ID). And then continue his own asynchronous process.
    Is it possible?
    Tank You!

    I have tried:
    A Reply. i put a reply exactly after receive input - nothing. BPEL exposed service is defined as asynchronous, so it has not any definition in wsdl for reply answer.
    A Callback. i put a callback and return back an assigned Coversation ID. It works good. But it is another callback operation.
    May be there is a possibility to return back not in some next activity but exactly in BPEL start moment?
    I will describe why i think its possible.
    When you call any async webservice you can receive an exception in this moment (if webservice doesnt exist) or you can also receive a "nothing" (if webservice exist and it started to work). In any way you receive in back ground some kind of system information from Application Server that tells you - are you successfull in webservice calling or not.
    And this is not a callback. Its something else. Its some kind of server synchronous answer.
    And I am thinking, is it possible to use this system answer to send back some technical info about BPEL?

  • Trigger an RFC call to ECC from PI using BPM

    HEllo Experts,
    This is my first time in ccBPM and require your expertise in gaining some insights onto calling an RFC FM using ccBPM.
    I am typically implementing the scenario as it is mentioned in this blog: /people/mitesh.parekh/blog/2008/12/01/receiving-aleaud-as-acknowledgment-in-ccbpm in order to generate acknowledgements from ECC.
    I have created the IR and ID and I am successfully able to exceute the BPM till step2. Step 3 is the ABAP mapping part for which i have specified teh required properties and Operation mapping too.
    My concern is that how do i proceed from Step 4 i,e how do i trigger this RFC call to ECC and receive it in BPM again?
    Thanks in advance,
    Elizabeth.

    I am developing a scenario which looks like this MDM ->PI ( BPM)  -> ECC.
    Now the Integration process that I am developing is with reference to blog http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/12249. [original link is broken] [original link is broken] [original link is broken]
    I am posting MATMAS from MDM which is received in first step(receive step) of this BPM.
    2nd step (Send step - BPM) will send this MATMAS05 Idoc to ECC and Pi will have a message id generated for this message.
    3rd step of BPM (ABAP mapping) - which will read the actual PI Idoc number from system tables based on the message id from step 2.
    4th step: Idoc number retrieved is to be sent in the requset message of RFC ZALEAUD4XI.
    5th step: Response of ZALEAUD4XI RFC is to be received in PI and sent for further processing.
    Do i need a mapping between the requset output of ABAP mapping and the input RFC requset message of step4?
    Thanks,
    Elizabeth

  • Prblem calling synchronized method from onMessage

    Hi friends,
    I am trying to call a synchronized method "X" from onMessage method in MDB.
    I dont see any effect of synchronization....
    do i need to make the "X" method static synchronized??
    or else is there any other way ?
    I need ur help

    Hi,
    MDBs are not single threaded as messages are concurrently processed. You did not get any synchronisation as all your MDB instances (threads) are accessing a different instance of your object. But however, if you use a static synchronized method then all your MDB instances will be synchronized on the same object and that should have the expected behaviour.
    Arnaud

  • Calling SAP interface from APEX

    Hi,
    Our application is in APEX.(APEX & ORACLE 10G )
    We have a requirement, where we need to fetch and update the data in SAP.
    How can I do the above using APEX.
    Thanks in advance...
    Regards,
    Sreekanth

    Sreekanth,
    While I don't know the specifics, you should be able to call the SAP BAPIs from PL/SQL - in APEX, you can use a PL/SQL process to achieve this.
    Thanks,
    - Scott -

  • Calling SAP BAPI Interface from PL/SQL

    Hi,
    How can i call BAPI Interface from PL/SQL.
    If you have any documents or examples please send me.
    Thanks in Advance
    Best Regards,
    Sreekanth

    Hi !
    declare
      req  utl_http.req;
      resp utl_http.resp;
      v_txt clob;
    begin
      req  := UTL_HTTP.begin_request ('http://rp.yoc.de/http/test/mbInfo/1.0/?smsbalance=total','GET','HTTP/1.1');
      resp := UTL_HTTP.get_response  (req);
      dbms_output.put_line(resp.status_code);
      dbms_output.put_line(resp.reason_phrase);
       utl_http.read_text(resp,v_txt);
       dbms_output.put_line(v_txt);
       UTL_HTTP.end_response(resp);
    end;I'm not exactly sure what are you looking for .. but that response from your post you can get with my code ( it's tested ).
    T
    Edited by: ttt on 12.3.2010 5:10
    My code is very "poor" , there is no error checks no header setup's no basic authentication no proxy settings .....

  • Does BPM - for a synchronous interface have a performance bottleneck

    Hi All,
    Just have a small query.
    We have a scenario in which we need to receive PO details from a legacy system, create a sales order in ecc and send back a response table to the legacy system.
    Our understanding is that this can be acheived using synchronous ABAP Proxies and also involves BPM and Abstract mappings.
    I beleive that this should not pose any problems. My concern here is that we are confused as to whether BPM would have bottlenecks with performance. Do we have any SAP document or article which mentions that for synchronous interfaces BPM is the only way to go and this would not have a significant impact on the performance.
    Another approach to the problem would be to create an asynchronous inbound proxy, write ABAP code within it and call a seperate outbound asynchronous proxy within the inbound proxy method. This approach looks and sounds very clumsy.
    Kindly let me know your thoughts or any links which would be useful.
    Thanks & Regards,
    Mz

    Hi Aashish,
    Thanks for your quick reply. it was helpful, but i am not using RFC's. Correct me if i am wrong, but i have explained the scenarios in detail below.
    Scenario 1. Synchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) The abap proxy code executes a function module and sends the response as an internal table back to PI.
    5) PI receives the response and places it in a text/csv file and places it back to another folder.
    I assume that the above would be possible only using BPM. What i understand is that in order for an interface to receive and send data, abstract mappings are to be used, and for this BPM is required. We do not have any conversions etc. its just a simple matter of receiving an internal table from ECC and creating a file to place in the folder.
    I also understand that BPM could have bottlenecks due to queue and cache issues, messages might be pending, or lost etc.
    Scenario 2. Asynchronous
    1) PI Picks file from a common folder.
    2) PI does a data mapping and sends the data to ECC.
    3) ECC contains an inbound interface which receives the data and in which abap proxy code is written.
    4) ABAP Proxy code executes the same function module and calls a seperate outbound interface and passes the values to it. This would be used in sending the response back.
    5)  PI receives the response from the second interface and places it in a text/csv file and places it back to another folder.
    I would like to know which would be the better approach. Documentation/references to support your claims would be much appreciated.
    Cheers,
    Mz

  • Call another Message Interface from Java Mapping

    Hi Gurus!!
    I have designed a Java Mapping that does a Socket Connection. Before send the response of the Java Mapping, I have to send information to our SAP System.
    I have see in a blog that I can call a RFC from the Java Mapping, but my doubt is, can I call another Message Interface designed on XI?
    Thanks and regards,
    Manuel Míguez.

    That's tricky, since the proper way of doing it would be through BPM.
    Anyway, if you expose your XI interface as a WebService (Soap sender cc) you could access it through Mapping Lookup (lookup works for RFC, DB and Soap lookups). Check https://help.sap.com/javadocs/NW04S/current/pi/index.html
    But be aware that Mapping Lookup API is not intended for inserts/updates (since it doesn't contain any transacational handling), just mere lookups (selects in tables), so I'm not sure it is the best approach for your case.
    Regards,
    Henrique.

  • "A technical error during invocation : Could not invoke service reference" Error message while calling a service from BPM

    Hi Experts,
    We are facing a issue while calling a Automated activity from BPM process, the process gets suspended and the BPM logs says "Process XYZ suspended, A technical error during invocation: Could not invoke service reference name fdhueoegghejietyhsjk6886 Component name ABC " We have already checked the mapped service reference and provider system. Gone through the below link, but no help.
    http://http://wiki.scn.sap.com/wiki/display/TechTSG/Sending+a+message+from+SAP+NetWeaver+BPM+process+to+PI+fails+via+automated+activity?original_fqdn=wiki.sdn.sap.com
    Any pointers or suggestions to fix up this issue will be highly appreciated. Thanks in advance.
    Regards,
    Mohit Jaju

    The details/ID in NWDS Service Reference must exactly match the SOA configuration. Sometimes it's possible you have changed the reference or the group itself and something changed to become mismatched.
    It's possible they don't match - but the SG itself will show green in NWA since the service exists and responds on the target system. Does the ID listed in the error match what is shown in the NWDS project?
    regards, Nick

  • EJB 3.1 @Asynchronous and calling other methods from within

    Hey all,
    I am helping a friend set up a test framework, and I've turned him on to using JEE6 for the task. I am decently familiar with entity beans, session beans, and such. One of the new features is @Asynchronous, allowing a method to be ran on a separate thread. The test framework generally needs to spawn potentially 1000's of threads to simulate multiple users at once. Originally I was doing this using the Executor classes, but I've since learned that for some reason, spawning your own threads within a JEE container is "not allowed" or bad to do. I honestly don't quite know why this is.. from what I've read the main concern is that the container maintains threads and your own threads could mess up the container somehow. I can only guess that this might be possible if your threads use the container services in some way.. but if anyone could enlighten me on the details as to why this is bad, that would be great.
    None the less, EJB 3.1 adds the async capability and I am now looking to use this. From my servlet I use @EJB to access the session bean, and call an async method. My servlet returns right away as it should. From the async method I do some work and using an entity bean store results, so I don't need to return a Future object. In fact, my ejb then makes an HttpClient call to another servlet to notify it that the result is ready.
    My main question though, is if it's ok to call other methods from the async method that are not declared @Asynchronous. I presume it is ok, as the @Asynchronous just enables the container to spawn a thread to execute that method in. But I can't dig up any limitations on the code within an async method.. whether or not it has restrictions on the container services, is there anything wrong with using HttpClient to make a request from the method.. and making calls to helper methods within the bean that are not async.
    Thanks.

    851827 wrote:
    Hey all,.. from what I've read the main concern is that the container maintains threads and your own threads could mess up the container somehow. I can only guess that this might be possible if your threads use the container services in some way.. but if anyone could enlighten me on the details as to why this is bad, that would be great.
    Yes since the EE spec delegated thread management to conatiners, the container might assume that some info is available in the thread context that you may not have made available to your threads.
    Also threading is a technical implementation detail and the drive with the EE spec is that you should concentrate on business requirements and let the container do the plumbing part.
    If you were managing your own threads spawned from EJBs, you'd have to be managing your EJBs' lifecycle as well. This would just add to more plumbing code by the developer and typically requires writting platform specific routines which the containers already do anyway.
    >
    None the less, EJB 3.1 adds the async capability and I am now looking to use this. From my servlet I use @EJB to access the session bean, and call an async method. My servlet returns right away as it should. From the async method I do some work and using an entity bean store results, so I don't need to return a Future object. In fact, my ejb then makes an HttpClient call to another servlet to notify it that the result is ready.
    My main question though, is if it's ok to call other methods from the async method that are not declared @Asynchronous. I presume it is ok, as the @Asynchronous just enables the container to spawn a thread to execute that method in. But I can't dig up any limitations on the code within an async method.. whether or not it has restrictions on the container services, is there anything wrong with using HttpClient to make a request from the method.. and making calls to helper methods within the bean that are not async.
    Thanks.If you want to be asynchronous without caring about a return value then just use MDBs.
    The async methods have no restrictions on container services and there is nothing wrong with calling other non async methods. Once the async method is reached those annotations don't matter anyway (unless if you call thhose methods from a new reference of the EJB that you look up) as they only make sense in a client context.
    Why do you need to make the call to the servlet from the EJB? Makes it difficult to know who is the client here. Better use the Future objects and let the initial caller delegate to the other client components as needed.

Maybe you are looking for

  • Open a pdf file from a item of the menu

    Hi, I need to open a file .pdf from a item of the menu, I'm working with Foms 6.0., the problem is that I don't have idea how do that! Thanks!

  • Creating Descriptive & Key FLEXFIELDS in Forms 10g

    Hello everyone, I want to create Descriptive & Key Flexfields in Oracle Forms 10g,Kindly help........

  • Trying to repair my MBP (early 2008)

    A couple months back my early 2008 model MacBook Pro 15" (A1260) died on me. I hit the power button, the fans flick on for one second and then turn off, the screen remains black, and all other internals seem to be off. The led on the front fades in a

  • Macbook Air - Bluetooth PAN - Very Very Slow

    I am desperate for a solution. I am trying to use Bluetooth PAN with my HTC Touch Dual and my MacBook Air. It works with my MacBook Pro. It works with my Windows XP machine. The whole purpose of getting the MBA was to lighten my load when I am on the

  • Md5 of application

    I hope you'll forgive a somewhat-modified follow-up to a previous question, but I'm still having problems. Often when downloading an application, the application includes an "md5" code for security. I'm trying to generate such a code in Unix for comp