BPM Design using sync-async  bridge

Hi Arpit,
Below mentioned is an overview of the process flow which we are trying to implement.
1. A synchronous interface takes in the request
2. After the mapping, a file is created
3. Another file adapter reads this file and sends a message back to the sync interface. This step is to make sure that the file is created
I'm using a sync-async bridge for this process, since file creation and reading processes are asynchronous and the request/response is synchronous.
Can somebody help me by telling how to design the BPM. How many send and receive steps are required etc?
Thanks,
Sandeep
    | Request  |    |    |       |    |     |    |       |
    |--------->|    |    |       |    |     |    |File   |
HTTP|          |Sync|--->|Mapping|--->|Async|--->|Adapter|
    |<---------|I/f |<-  |       |    |I/f  |    |(write)|
    | Response |    | |  |       |    |     |    |_______|
                      |                              |
                      |                              |
                      |                          ____|___
                      ||      |   |        |    |        |
                      -|Async |<--|File Adp|<---|Folder  |
                       | I/f  |   |(read)  |    |________|

Hi
<i>>>I have to map the incoming xml from HTTP to another format before creating the file.</i>
Ya then u can use the transform Step in between the
sync Recv ---> Transform ---> Send to File System
<i>>>Once a file is read, that interface has to send an acknowledgement message telling the status.</i>
Wht type of acknowledgement msg telling the status.
I think u can add another element in ur created file payload like <b>Status</b>: Created (ConstanT)
Then u can map the payload of the readed file with tis payload having Ststus init.Fo this u need a <b>Transformation</b> Step.
BTW i was searching some previous blogs and i got this and it is bit related to ur scenario.Go thru this
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
Hope it helps.
Regards
Arpit Seth

Similar Messages

  • SOAP to JMS using Sync/Async bridge - configuration confirmation needed

    Hi group,
    Since I'm experincing error in a scenario using sync/async bridge in jms adapter I really would like a confirmation on my configuration.
    For a simple SOAP to JMS scenario is it then correct that all I need is;
    1) 2 synchronous message interfaces, 1 inbound and 1 outbound
    2) 1 Receiver determination
    3) 1 Interface determination
    4) 1 Receiver agreement (JMS adapter with module configuration)
    5) 2 Sender agreements (in my case 1 soap and 1 JMS adapter - the later with module configuration).
    6) The sender and receiver JMS adapters point to different MQ queues (request and response queues)
    7) The sender agreement for the JMS adapter uses my synchronous, inbound message interface (isn't this really just a "dummy" to actually fetch data from response queue - meaning that the actual utilized business system/service, MI and namespace are unimportant, since the module will make the adapter notify the listening module in the receiver JMS adapter?)
    Best Regards,
    Daniel

    Hi, thanks for your reply.
    I'm familiar with the links provided. I believe everything is configured as it should be, but since I get error I would like to have my configuration confirmed. Neither the weblog (or SAP guide) are detailed enough to convince me 100% that my configuration is correct. Surely the problem could be on the MQ side, but before going into that, I want to be sure that its not on XI-side.
    So I really would like confirmation on the steps/question that I wrote:-)
    Best Regards,
    Daniel

  • . 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.

  • Need help with scenario BPM Http-RFC Sync/async bridge

    hi all!
    i've got the following scenario: HTTP-BPM(XI)-RFC synchronous both of them. for that, i'm using S/A bridge in the BPM, but i'm getting the error 'Timeout condition of pipeline reached'. i think the problem is that the process gets lost in the sync/async communication, because in the trace level shows CL_XMS_PLSRV_CALL_BPE-ENTER_PLSRV" and after that every message are 'wait time starting'.
    don't know the reason of the error. Maybe I missed something to configure?
    the BPM is like this:
    Receiver(Open Sync/Async bridge) -> Transformation (mapping from http request to RFC request) -> SyncSend (RFC request and response) -> Transformation (mapping from rfc response to http response) -> Send (Close S/A Bridge)
    the IR is configured like this:
    Message Types u2013 External Definitions u2013 Imported Objects
    mt_cxml_request -> contains xsd of xcml request template.
    mt_cxml_response -> contains xsd of xcml response template.
    zintegracion_pedidos -> imported RFC from R/3
    zintegracion_pedidos.response -> imported RFC from R/3
    Message Interfaces
    mi_cxml_request_async_abs
    mi_cxml_request_sync_abs
    mi_cxml_request_sync_out
    mi_xcml_response_async
    mi_rfc_request_asyn_abs
    mi_rfc_request_sync_abs
    mi_rfc_request_sync_in
    mi_rfc_response_async_abs
    Message Mappings
    mm_cxml_request_to_rfc_request -> mapping from http request (cxml) to rfc request.
    mm_rfc_response_to_cxml_response -> mapping from rfc response to http response (cxml).
    Interface Mappings
    im_cxml_request_async_abs_to_rfc_request_async_abs
    im_rfc_response_async_abs_to_cxml_response_async_abs
    and the ID is configured like this:
    Business system DES -> created business system for RFC adapter with interface mi_rfc_request_sync_in as receiver. Comunication channel u2018RFC Receiveru2019
    Businnes service VW -> created businnes service for HTTP adapter with interface mi_cxml_request_sync_out as sender. Comunication channel u2018HTTP Senderu2019
    Receiver Determination
    two receiver determinations. One for BPM and the other one for RFC(R/3):
    |VW| mi_cxml_request_sync_out:
    |BPM_PO| mi_rfc_request_sync_abs:
    Interface Determination
    two interface determinations:
    |VW| mi_cxml_request_sync_out | | BPM_PO:
    |BPM_PO| mi_rfc_request_sync_abs | * | * :
    Sender Agreement
    VW
    mi_cxml_request_sync_out
    Receiver Agreement
    |BPM_PO| |DES| mi_rfc_request_sync_in

    hi all,
    i've removed the transformations from the BPM, and i've created:
    in IR:
    - interface mapping: im_xcml_request_to_rfc_request_sync_abs
                                    source interface: mi_cxml_request-sync_abs
                                    target interface: mi_rfc_request_sync_abs
    in ID:
    - receiver determination: |VW| mi_cxml_request_sync_abs
                                      sender service: VW
                                      interface: mi_cxml_request_sync_abs
                                      receiver: DES
                                      interface mapping:im_xcml_request_to_rfc_request_sync_abs
    - interface determination: |VW| mi_cxml_erquest_sync_abs ||
                                         sender service: VW
                                         interface: mi_cxml_request_sync_abs
                                         inbound interface: mi_rfc_request_sync_abs
                                         interface mapping: im_xcml_request_to_rfc_request_sync_abs
    - receiver agreement: |VW| |DES| mi_rfc_request_sync_abs
                                   sender service: VW
                                   receiver service: DES
                                   receiver interface: mi_rfc_request_sync_abs
    not sure these are the steps i had to do for mapping xml to rfc. but the result is the same error as before, the timeout.
    i couldn't test with RTW because i'm getting an error 401 unauthorized.
    i'd do it without BPM but the issue is that i wanted to add another step that would be to send the response from rfc to mail too once i got this BPM running. i mean, the response from RFC would be sent to http response and mail both.
    the only way i can imagine to do it is with BPM but i'm really fed up with it.
    thank u very much folks

  • 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

  • When is Sync-Async bridge used in BPM? Kindly help!

    Hi Experts,
       I am finding it difficult to understand when to use Sync-Async bridge. In the example given by SAP it is not clear what they mean by following:
    1. We use Sync-Async bridge when the sender system is Sync and Receiver system is Async. What do you mean when you say receiver is Async?
    2. When Receiver is Async then how will it send a response?
    3. Can somebody explain the "Wait" mechanism used to get the response?
    4. Can we use Sync-Async bridge when both the sender and receiver systems are Sync? How?
    Please help me with the answers
    Thanks & Regards,
    Gopal

    Hi,
    In a simple way ill tell you. Suppose we need to check the reservation seats of Train or flite then the sender(our) side is Asynchronous and receiver(server) side is Synchronous, because the receiver(server) takes the request and send the response(seats r avail or not).
    For your second question
         If the receiver is Async then it doesn't send the response.
    For your fourth question chk this
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    For more info Check this links
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm

  • Sync async bridge configuration

    Hi,
    I am doing one sync to sync scenario using sync/async  bridge in BPM,I am posting one message from HTTP client.
    I am receiving the synchronous message inside bpm and opened sync aysnc bridge.
    Then I need to do some transformations,
    after transformation step I am closing sync/async bridge and sending the message back to sender system.
    I have created repository objects,
    while configuring directory objects,
    I have run wizard once between sender and BPM and do i need to run wizard again?
    please explain me about configuration (ID objects)?
    Thanks
    Best Regards,
    Harleen Kaur Chadha

    Hi Harleen,
       Check this below blog,its very useful for ur requirement.
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/10c73036-f019-2b10-20bc-f15a25be9588
    Regards,
    Skumar

  • REG : SYNC/ASYNC bridge

    Hi all,
                 I have a scenario where my sender is a syncronus and receiver is asyncronus. I have used sync/async bridge in BPM to acheive this.But when i send the input data from runtime workbench with QOS as BEST EFFORT i  got the following error " Error While sending the message". When checked in moni, the data has sucessfully sent to the receiver and in the BPM flow is failing at the last step (ie SEND step which sents syncronus respose and which ends the bridge)
    The steps i used in BPM are
    RECEIVE(start of sync/async bridge)--> SEND(which sends data to receiver)--
    >SEND(which ends the sync/asynbridge) The response that i send is same which i receive(input data) , so i didnot use any  step for response .
    I ran the wizard for 2 times :
    1) from my source to BPM in which is syncronus.
    2)from BPM to receiver which is asyncronus.
    Can anyone please provide me solution for the above problem.

    Hi Srinivas,
    In BPM second step,
    Send step it would configure the properties as a " Synchronous". then only response back to the sender.
    Regards,
    sateesh

  • 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

  • File based Sync-Async Bridge

    Hi All,
    I have a scenario where a file is available in a shared folder.
    This file needs to be picked by a RFC Function module called in a Synchronous mode and the contents of the file needs to be displayed as the output of this RFC.
    Is this achievable using Sync-Async Bridge.If so can someone explain me the steps to achieve the same?

    If i were to open a Sync-Async bridge, I need to do the following
    Step 1: Receive step to open the sync/async bridge
    Step 2:Asynchronous send step
    Step 3:Receive step
    Step 4: Send step to close the sync/async bridge
    In my scenario.
    Step 1: Receive the RFC's request message
    Step 2: ????
    Step 3: Get the message from the file
    Step 4: Transform the file's message to RFC's response message
    Step 5: Send the RFC's response message  
    Moreover file adapter works in a polling mechanism..

  • RFC -File Sync Async bridge RFC Adapter Exception

    Hi
    I am using sync async bridge to send a response back to rfc.
    Although there is no error in sxmb_moni as well as the auditlog shows that the response was sent successfully to rfc.. still the RFC adapter gives the following error with no response sent to RFC..
    Error in processing caused by: com.sap.aii.af.rfc.RfcAdapterException: failed to identify XML document:java.lang.Exception: javax.xml.parsers.FactoryConfigurationError: Provider com.sap.engine.lib.jaxp.SAXParserFactoryImpl not found
    please help

    Solved the problem..
    The problem could be due to the following..
    1. the response structure was just a single character..while i was sending a whole string..
    2. I restarted the server...probably the problem
    javax.xml.parsers.FactoryConfigurationError: Provider com.sap.engine.lib.jaxp.SAXParserFactoryImpl not found
    system property must have set mismatch for the SAXFactoryImpl.... by deploying modules before in which i was using SAX parser.. may be the i set the system property earlier to other provider dont remember...
    Hope this information will be useful to someone in future using Sync/Async bridge

  • 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

  • Using WAIT step in Sync/Async Bridge

    I am using a sync/async bridge and placed a 1 minute wait step in between my async send and async reply.  When I test my process, the async reply comes in but then my 1 minute wait eventually times out and gives me an error.  Can someone guide me in fixing this BPM design (which steps to add and how)?
    http://webpages.charter.net/kpwendel/bpm_with_wait.jpg
    I would like it to stop waiting once the async reply comes in and not timeout.  If the 1 minute mark comes and a reply never came in, it would also be nice to send back an error message.
    Thanks!

    I pulled my WAIT task and had this scenario working a week ago.  I have not made any changes, but now my inbound replies to close the BPM and link up to the request are not "linking".  The request is eventually timing out even though the reply with a good correlation id comes in successfully.  Any suggestions?
    UPDATE:  I went through my objects in the IB:Config and resaved/activated them and now it is working.  Don't know what messed them up in the first place.
    Message was edited by: Keith Wendel

  • BPM - Receive Sync/ASync Bridge Problem

    Hi,
    I am creating a scenario for an inbound Synch request to be serviced by a BPM process.
    Here is the problem that I am facing while trying to configure the Receive Step
    - I created a Message Interface defined as Abstract Synchronous.
    - I created a process model and put in a Receive Step: Mode - Opens S/A Bridge, Synchronous Interface - defined as above.
    - I define a container with Abstract type. But when I try to locate the above defined Abstract Synch message interface, I cannot find it.
    - As a workaround, I create another Abstract Message Interface defined as Abstract ASynch.
    - I create a container with this Abstract ASynch message type.
    - I use this container in the Receive Step.
    But activating the Business Process gives the error:
    Message to be received and Synchronous Interface do not have identical types.
    Can someone give me the correct procedure to configure the Sync / ASync Bridge ? thanks,
    -Manish

    Dan,
    This is the link you are looking for?
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm

  • Sync / Async Bridge without BPM

    Hi All,
    I was trying to implement the Sync / Async Bridge without the BPM. I am trying a HTTP to JMS Sync / Async Bridge. I have followed the following link and done exactly the same as shown in the document
    http://help.sap.com/saphelp_nw04/helpdata/EN/45/20d2b4c20a0732e10000000a155369/content.htm
    I have used a Java application which will poll the request queue and then place the message in the response queue with the same correlation ID frm the request queue.
    After following the above link the response message was not appearing, the message were going to deilvering status and after some time i found that they were cancelled without errors
    I searched in the forums for many solutions but what i found was this thread which stated that since the XI message ID is 32 bytes and Correlation ID is only 24 bytes its difficult for Modules to identify the response since the correlation is truncated.
    JMS: Synch/Async bridge - how to configure
    I tried changing the configuration in the reciver JMS channel to XI Conversion ID instead of Message ID and this also doesnt give me fruitfull results. The message was not being placed in the request queue, it gave an error saying that the conversion id was null. Though in the thread it seems to have worked for him.
    After this i planned to dynamically generate a Correlation ID (a dummy one) of 24bytes and i sent it to the request queue this time the message was retrived from the response queue only to find that the correlation ID this time has been converted to some other format
    Corrletion ID sent to the request queue: ABCDEFGHIJKLMNOPQRSTUVWX
    Corrlation ID coming in the response queue : 4142434445464748494a4b4c4d4e4f505152535455565758
    Can anyone put some light on what i exactly need to do or tell me why the conversion ID worked for Daneil in the thread and it gave me an error saying that the Conversion id is null
    Rgds
    Aditya

    Hi Prateek,
    This is what was tried in my first case. I did exactly what was given in that link.But since the Message id being 32 bytes and length of correlation id is 24 bytes id is getting truncated.
    So its not working fine.
    @ke i am having a look at the note will update you on this
    Thanks for your response
    Rgds
    Aditya

Maybe you are looking for

  • Help! Images are not rendering in any browser!

    When online, images are not rendering on any webpage. All other content is fine. Problem is across browsers, BUT, is limited to my user identity. When I create a new user and go online the problem id resolved. I do not want to lose all my user settin

  • Twixtor plugin doesn't render using Adobe Media Encoder

    Hello, I'm having a weird case here with Twixtor 5.0 and Premiere CS6. First I was getting the orange screens rendering a sequence with twixtor in it. Them I read the solution for it, that is: "The seuquence have to be the same setting as the clip wi

  • MDX Prior Quarter Day Range

    I've been tasked with a rather odd Time intelligence function by my finance group that I'm trying to puzzle out. I've been asked with creating a measure within our SSAS Cube to allow for seeing previous quarter to date based on how far we are in the

  • There is no bar to type in the web address

    no details

  • Ipad 3 with ios 7.0.4

    I have some problems with my ipad3. I hope everyone can help me. I just updated it from ios 5.1.1 to 7.0.4 few weeks ago. After that, my ipad works slower than before. What's wrong with it? Can the new update like 7.0.6 can fix this problem? I'm afra