Sync-Async Integration

Hi friends,
I have a scenario where two sides are web services.  One WS is Sync and other side is Async.  Is there any way to do Sync-Async integration other than ccBPM ?
You suggestions are welcome.

Hi Narayanan,
  Sync-Async without BPm will work only in the case of JMS adapter . 
check this link
http://help.sap.com/saphelp_nw2004s/helpdata/en/45/20d2b4c20a0732e10000000a155369/frameset.htm
regards,
Rahul.

Similar Messages

  • Sync/Async BPM scenario : Problem at Integration Process..!!

    Hi All,
    I am doing Sync/Async BPM scenario.
    start ->Receive(Request)> Transformation(Responsemap)>Send(SendtoR/3)->Send(Send Response) ---> stop.
    When Iam trying to Activate, Integration process giving errors as
    Source parameter AA_Payment_Req | http://XXXXXXXXX.com/SAP_PI/DirectSales/Payment not set  Target parameter AA_Payment_Response | http://XXXXXXX.com/SAP_PI/DirectSales/Payment not set
    Warning: Container element Response is defined but is neither initialized nor used.
    But I am using them in the BPM. The same kind of scenario is working for another interface which is already running in production. When I tried to check that interface it is showing only Warning message as Container element Response is defined but is neither initialized nor used.
    I tried deleting and creating again and still it is showing the same error.
    Can anyone please suggest what might be the problem.
    Regards
    Deepthi

    Hi,
    could you pls let me know how its solved, while i am trying the same i am also getting the same problem..
    could you pls explain bit more on this.
    Thanks,
    Venkat.

  • Need help with Sync/Async BPM Scenario

    I have an R/3 RFC -> XI -> HTTP (to vendor A) scenario that is working fine.  It is a totally synchronous call event.  The Integration Directory pieces sit in a scenario named HotkeyOutbound.
    Now I need to create a process for RFC -> XI -> HTTP (to vendor Panduit).  The R/3 RFC is the same sender, but vendor Panduit only supports an asynchronous HTTP connection.  I followed the Sriram Vasudevan weblog on Sync/Async Bridge and created my BPM.  I am stuck on trying to determine what to set up in the Integration Directory. 
    First off, should I be able to use the same HotkeyOutbound scenario as with vendor A so all hotkey stuff can stay together?  Or do I have to create a new scenario with a copy of the R/3 business system for the sender?  I moved forward with a new scenario (PanduitHotkeyOutbound).
    I also need to know how many config Agreements and Determinations to use.  The image at http://webpages.charter.net/kpwendel/keith1.html shows what I have so far.  Which are not needed?  What is missing?
    And I tried setting up an HTTP communication channel for outbound async to vendor Panduit and another for inbound async from vendor Panduit.  XI won't let me set up a sender HTTP channel.  Why not?
    Thank you in advance.

    I have yet to figure this out, and probably need to go back to my Integration Repository setup since my problems may start there.  This screenshot shows my Repository objects.
    http://webpages.charter.net/kpwendel/intProcess.jpg
    HELP!  These are the steps I took, with questions embedded.
    (1) Created data type and message type for xml document (note that same format is used for request and reply).
    (2) Created PANRequestAbstractInterfaceSync (abstract and sync) for first part of Integration Process.  Should the input message be the RFC or XML message type?
    (3) Created PANRequestAbstractInterfaceAsync (abstract and async) for 2nd part of Integration Process.
    (4) Created PANResponseToBPM_MessageInterface (outbound async) for interface back into XI from partner. Is this needed?
    (5) Created PANHotkeySync_to_Async_IntProc Integration Process to handle sync to async bridge.
    - Wondering why PANRequestAbstractInterfaceAsync is the only message interface available when I make container object (PANMessage)?
    (6) Created two Message Mappings to handle RFC data to XML mappings (outbound RFC-> XML and inbound XML -> RFC).
    (7) Created Interface Mapping that includes both the Request and Response message mapping programs from step six.  Source is the RFC and Target is PANRequestAbstractInterfaceSync.
    - Do I need another interface mapping with Source being PANRequestAbstractInterfaceAsync and Target being the RFC?
    Link to these steps and app diagram:
    http://webpages.charter.net/kpwendel/PAN_Hotkey_Diagram.jpg
    Thank you very much for your time.

  • Sync-Async Gotchaa

    Hi Friends,<br>
    I am in a problem, I have one jpd published as a webservice to a poral [synchronous] client. This jpd is asynchronous,meaning it have separate client request and client response node, but the same jpd is calling one more process control[async again] to do the dirty work of tranforming incoming request and then sending to legacy system using JMS control[async activity]. The question is, can we call the outer jpd [that is published as a web-service] synchronously from a portal page. I seen the weblogic docs they say to make sync-async wsdl file and define client callback method,I tried it but it doesn't work.<br>I think my design fall in some limitation that the doc is talking about as in between pair of client request and client response node I have another client request to the process control [for transforming and sendng receiving message].<br>
         <b>Is there anyother way to make it work?<br>
         Did anyone got the same problem before?<br>
         Guys, you need to help me in this pls<br>I already tried lots of permutation and combination to arrive at this design so pls don't ask me to change this now. :(<br>
    Cheers,<br>
    Shailesh

    Hi Rohini,
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
    The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    There is an example of the Sync/Async Bridge in th SWCV: SAP BASIS.
    Namespace: http://sap.com/xi/XI/System/Patterns
    Go through this link to get a good idea as to how to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm">Define Sync/Async Communication</a>
    This blog also should give you some idea...
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken]
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
    I hope it helps.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Is it possible to create soap to file sync/async bridge

    Hi All,
    I am balakrishna, I have one requirement, at sender side we have ep system and at receiver side having http system. from ep side we are using soap req/res as sync communication. At reciver side we have to use the reciver file adapter as a dummy because receiver file adapter doesn't pick the file from the http links. so, again we have to use the sender file adapter  to pick the files (text/excel) from the http links directly using wget os command. how can i implement this scenario using bpm.

    Hi,
         You will find a sample BPM for sync/async bridge under
    SAP BASIS --> http://sap.com/xi/XI/System/Patterns --> Integration Process --> BpmPatternSyncAsyncBridge.
    Your requirement would be similar to this.
    Regards

  • RFC Sender to start Sync/Async Bridge

    Hi,
    I'm trying to start a Sync/Async Bridge calling RFC. When importing RFC into Integration Repository, by default it creates two Message Type for request and response (RFCNAME and RFCNAME.response).
    My scenario is configured as follows:
    <b><u>Integration Repository</u></b>
    The starting step in BPM is configured with an abstract synchronous interface (output message is RFCNAME and input message is RFCNAME.response).
    <b><u>Integration Directory</u></b>
    <u>Sender Agreement</u>: sender service is R3 business system (from SLD), interface is the RFC program name (not an interface).
    <u>Receiver determination</u>: sender service is the R3 business system, the interface is RFC program name, an as configured receiver the BPM.
    <u>Interface determination</u>: In the configured inbound interface for the receiver (BPM) I configure the abstract synchronous interface
    My problem is that when calling the RFC, the outbound message is received into XI but does not reach BPM: NO_RECEIVER_CASE_ASYNC. Can you help me please?
    Thank you,
    Gari.
    (Sorry for my english!!!)

    Of course it is possible. Some considerations, though:
    1. you said that receive/send steps of BPM are configured with RFC and RFC.Response messages. However, by default, the RFC interface cant be used as Abstract Async. You have to explicitely create those abstract async interfaces. Have you done that?
    2. What extra steps do you have in BPM? I mean, you dont need to create abstract interfaces based on message type of RFC. If you have the message type of your receiver, you can perform mapping outside of BPM, and all abstract async interfaces could be done refering to the receiver message types.
    Regards,
    Henrique.

  • Doubt on Sync-Async  bridge using BPM

    Hi Experts,
                     I had a doubt on Sync-Async  bridge using BPM,
       1. If sender system is SAP system and receiver system is non-sap system then while configuring in Integration Directory how many  Receiver Determinations should be done ?
    2.Plz explain if we have 2 receivers i.e one sender SAP system and 2 non-sap systems then what will be the no. of receiver determinations?
    3.How we have to count no. of receiver determinations if we have 2 receivers and 1 receiver system? If so what is the no. of receiver determinations in case of 1 receiver syst and 2 receiver systems?
    Plz clarify above questions  good answers will be definetly rewarded.
                                                                                    Regards,
                                                                                    Vinod.

    vinod,
    ... Sync-Async bridge and Recievr determination are not related....
    Sync-Async bridge means.. u r sending some request syncronously...and u r expecting the response also in synchronous way... but u r not getting the response  directly...u r getting it via BPM..i.e asynchornously.....
    see here what is the  Use of Synch - Asynch bridge in ccBPM
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    and here if u have 2 reciver... u have to create 2 receiver determination and ofcourse for BPM one reciver dtrmination is required.... since in BPM related scenario BPM will act as a reciver...BPM(IP) wil first recive the message then it will be forwarded to Receiver system!!! so total 3.
    <b>3.How we have to count no. of receiver determinations if we have 2 receivers and 1 receiver system? If so what is the no. of receiver determinations in case of 1 receiver syst and 2 receiver systems?</b>
    r u telling that u r having two recivers and each receiver is receiving messages using 2 interaces???
    u have 2 use 2 receiver determination and 4 interface determination.
    regards
    biplab

  • Sync/async BPM test

    Hi,
    I'm trying to implement the sync/async bridge BPM example.
    I've created a web service adapter (SOAP) as synchronous sender, and I thought I could use a JDBC adapter as asynchronous receiver, but it seems I need synchronous JDBC adapter to make a SELECT query and get results...
    Does anybody know an adapter type I could use as asynchronous receiver adapter for my tests?
    regards
    Yann

    Hi Yann,
    it is easier!
    make 4 steps in your BPM
    1) recieve
    2) send async
    3) receive (response from step 2)
    4) send sync
    For step 2) in your integration directory create a receiver determination that calls your BPM (step 3)!
    Thats the trick. You do not really need a ASYNC backend system.
    Regards Mario

  • Correlation issue due to async receive with sync/async bridge

    Hi,
    I have an Integration process (PI 7.0), which consists of sync/async bridge.
    One of the step in the process is async receive.
    To avoid any issue with correlation, i placed the whole process (except start and end) into a block and assigned a local correlation to it.
    The Sync receive in sync/async bridge will activate the correlation and one of the async receive step in the process will use that correlation.
    Normally it worked fine. But during one execution (just for testing), the async receive step did not take input to the process, and so the process execution replied "Timeout in Pipeline". But thereafter i cannot execute the process successfully, even when async takes the input.
    And in the BPE monitoring, in workflow log, the process Instances are still "In Progress".
    Do we have any way to stop these processes and unlink any possible correlation related to them?

    Hi,
    A local correlation is only valid for the block for which it is defined. Once the block has been processed, the correlation is no longer active.
    If the validity of a correlation is not restricted correctly, the following problems can occur:
    ¡        Messages that satisfy an active correlation are continued to be assigned to a running integration process. The integration process no longer processes the messages because no processing steps are waiting for the messages.
    ¡        Messages that satisfy an active correlation are continued to be assigned to a running integration process, instead of starting a new integration process.
    You can avoid these problems and make it easier to follow how messages are processed by restricting correlations correctly to the required block.
    Please check the local correlations for it
    With SXMB_MONI_BPE you can monitor these instances.
    But to kill it you need to use tcode SWWL. You can go to SXMB_ADM_BPE to check the BPM related settings.
    Thanks
    swarup
    Edited by: Swarup Sawant on May 31, 2008 1:40 AM

  • Sync - Async Bridge example

    Hello,
    Pls provide Sync - Async Bridge example document.
    Regards

    HI
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages
    Refer this blog
    /people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    There is an example of the Sync/Async Bridge in th SWCV: SAP BASIS.
    Namespace: http://sap.com/xi/XI/System/Patterns
    The Integration Server  receives synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    As soon as a synchronous message is received from the sender system the process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The BPE receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    This blog also should give you some idea...
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf

  • . Why we use Sync-Async bridge? .

    Why we use Sync-Async bridge?

    Dear Manoj,
    http://help.sap.com/saphelp_nw04/helpdata/en/55/c5633c3a892251e10000000a114084/content.htm
    A distinction is made between synchronous and asynchronous communication for both imported interfaces and message interfaces.  You define the mode of communication when you define an interface:
    ·        In the case of synchronous communication, a response message is expected from the receiver after a request has been sent. Once the request message has been sent, no further messages can be sent until the response to the request has arrived back at the sender system.
    ·        However, in asynchronous communication a (immediate) response is not expected. A sending process can send multiple messages to a receiver in a bundle and then continue executing the process.
    You would use Synch - Asynch Bridge to enable the communication between a synchronously calling business system (synchronous outbound interface) and an asynchronously called business system (asynchronous inbound and outbound interface), you can define a sync/async bridge in an integration process. You can only define one sync/async bridge for each integration process.
    Regards,
    Naveen.

  • Regd NWBPM Sync/Async Bridge

    Hi,
    I have a synchronous to Asynchronous interface. Customer sending the data through SOAP and he is expecting the response. From PI we are sending the data to ECC through IDoc.
    I checked couple of blogs but those are related to Sync-to-Async (Async request and Async Response at target side). Can you please help me how to achieve this.
    I checked  below links
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f96dbf-adca-3010-ffb5-daf2d1f0e276?QuickLink=index&…
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/50be5f78-c84d-3010-32ac-ea68b7202932?QuickLink=index&…
    Thank you.
    Regards,
    Venkat

    Hi Rohini,
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
    The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    There is an example of the Sync/Async Bridge in th SWCV: SAP BASIS.
    Namespace: http://sap.com/xi/XI/System/Patterns
    Go through this link to get a good idea as to how to <a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm">Define Sync/Async Communication</a>
    This blog also should give you some idea...
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken]
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
    I hope it helps.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • Exercise for sync/async bridge scenario

    Hi,
    Can anybody send me exercise scenario or link for sync/async bridge scenario?
    Thanks
    Narayana

    Hi Balaji,
    pls check this weblogs
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
    /people/dmitry.govberg/blog/2006/12/20/mainframe-and-sap-integration--the-synchronous-case
    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]
    conversations
    Sync - Async Bridge
    BPM Sync/Async Problem
    BPM Design using sync-async  bridge
    Regards,
    Ram

  • Dynamic configuration in Sync/Async bridge in JMS

    Hi
    Scenario:
    Portal sending request to JMS MQ and getting Response using sync/Async Bridge.
    I have to written a UDF which will capture the value for cust_uid from request mapping and store it in dynamic configuration
    And when the response comes from JMS MQu2026.this value gets populated in response mapping.
    I have tested the UDF in a dummy Soap2rfc scenario and its working fine.
    But when used in Sync/Async Bridge, the dynamic configuration  fails.
    For Sync/Async Bridge, there are 2 channels 1) Sender JMS 2) receiver JMS.
    The synchronous request is converted to an asynchronous request in the module processor and sent.
    The asynchronous system sends a response to a sender adapter. In the module processor of the sender adapter, this response is forwarded to the module processor of the original receiver adapter, where it is sent as a synchronous response of the waiting synchronous request.
    Please  suggest
    Regards
    Abhijit

    Hi Abhijit,
    Okay, so your data extraction/insertion is working fine for a simple synchronous request responser call.
    I suppose this is working fine because your receiver adapter copies some part of the request message (at least the dc header) to the response message. (But I don't think this always works for all the adapter types). It is not working for the sync-async bridge because there are two unrelated messages in this case.
    In order to copy the dc header from the first message to the second message, I think you can use the DynamicConfiguraitionBean module to store the dc header value in the module data and use this module again to recover it and set it to the second message. The whole process is somewhat complicated, but I will sketch the approach below.
    First, let's call the first use of DCB the store step and the second the recover step. These store and recover steps must take place in the same module sequence so that they can use the module data to pass data from the first message to the second message. Furthermore, the store step must occur after the cust_id value is extracted into the dc header. So, your configuration must be placed in the receiver adapter side. Assuming the request message with the filled dc header coming into the module sequence, the first DCB module can be placed before the ROB module to store the dc header value in the module data. And the second DCB module can be placed after the WRB module to recover the dc header value from the module data and set it the dc header of the response message.
    I hope this will work.
    Regards, Yza

  • Sync/Async communication in JMS adapter without BPM

    Hi,
    as of SP19 XI's JMS adapter offers this new feature for Sync/Async communication through JMS Adapter modules instead of using a BPE.
    Now I would be interested to know if anybody has already successfully used this feature especially using WebSphere MQ as a JMS Provider (preferredly in the mode JMS Compliant: WebSphere MQ (non-JMS)).
    I experienced some issues with the XI Message ID being used as the JMS Correlation ID which is then mapped to the MQ Correlation ID being truncated after 24 characters. So I don't exactly know whether this is due to wrong setup or some general issues with this messaging system.
    Please let me know if you have any experiences at all with this new feature (please do not just post links to the following blogs, which I have thoroughly studied as well as the How-to Guide concerning this topic)
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    thanks & regards,
    Peter

    Hi Peter,
    we working on the same Problem. Using IBM Websphere MQ as JMS Provider for the new feature: sync/async bridge without BPE.
    we switched on a high level trace for the adapter framework and saw a problem in the receiving Object of the JMS correlation id. The notify bean receives the JMS correlationid in hex format. so the beans have two different correlations, which could not find together.
    did you have any solution to get this new feature works with IBM Websphere ?
    thanks
    joachim

Maybe you are looking for