How to realize a Sync-Asyn Bridge

Hey Folks,
I was trying to 'decode' whatever is written in the How to guide (Realize a sync - async and async - sync bridge in the adapter framework). Thanks to Bhavesh he posted the thread on the Async - Sync part and so i thought i would figure out the Sync - Async part.
Ok so here is what i have done till now (with no success);
its a HTTP <-> XI <-> File
So;
2 DT/MT for HTTP, 2 DT/MT for file
1 MI outbound sync -> http
1 MI inbound sync -> File
the 2 mappings and the 1 IM
In configuration;
1 rec. file adapter and 1 sender file adapter
the configuration is as usual for a sync scenario; except for the sender agreement for the sender file adapter, i configure a dummy sender agreement with dummy interface and dummy namespace but the original CC created.
In the Recv. file channel module part;
1     AF_Modules/RequestOnewayBean     Local Enterprise Bean     2
2     CallSapAdapter     Local Enterprise Bean     0
3     AF_Modules/WaitResponseBean     Local Enterprise Bean     1
2     passThrough     true
in the sender file channel;
1     AF_Modules/NotifyResponseBean     Local Enterprise Bean     1
So any of you guys who did something on that document, i hope can throw some light
Cos i am sure i am missing something here !!!
~~ShaBZ

HI,
Are you using BPM or not??
Can you plz tell me the SP number/version.
I hope Sync - Asyn without BPM is possible with latest SP.
Please see the below links
/people/community.user/blog/2006/12/12/http-to-rfc--a-starter-kit
Searching for a BPM scenario
With BPM
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
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]
Regards
Chilla..

Similar Messages

  • Usage of  sync-asyn bridge problem in BPM in particular scenario

    scenario is to send a Stock availability check from one suboffice to other suboffice which does not involve any R/3 activities.
    I need to send SOAP request to XI, BPM receives request through synchronous interface.
    BPM has to send request to DB through synchronous interface and gets response
    Questions:
    1) whether sync-async bridge comes into picture in BPM or not
    2) i am really confused how many Data types,Message types and message interfaces i have to create.
    3) what are all the message interfaces i have to create
    4) abt Integration Directory activities.
    Its would be appreciated if u tell step by step.
    Its urgent..
    Thanks & Regards.,
    Pushparaju.B

    I have created these things as of now , but problem in interface mapping
    <u>Interface Objects</u>
    Data Types
    1)DT_Soap_request
    2)DT_Soap_response
    3)DT_Jdbc_request
    4)DT_Jdbc_response
    corresponding message types
    1)MT_Soap_request
    2)MT_Soap_response
    3)MT_Jdbc_request
    4)MT_Jdbc_request_response
    Message Interfaces
    1)MI_SOAP (inbound asynchronous) MT_Soap_Response and MT_Soap_Request input message
    2)MI_JDBC (outbound asynchronous) MT_Jdbc_response output message and MT_Jdbc_request input message
    <u>Mapping Objects</u>
    Message mappings
    1) MM_Jdbc_Response_Soap_Response where MT_Jdbc_request_response and target message is MT_Soap_response
    2) MM_Soap_Request_Jdbc_Request where source message is MT_Soap_request and target message is MT_Jdbc_request
    Error in interface mapping is
    IM_Soap_Request_Jdbc_Request has interfaces source is MI_JDBC and target is MI_SOAP
    <b> No object found for message mapping in request tab</b>
    can anyone help me please its urgent.
    why its not detecting the message mapping in request tab
    Thanks & Regards.,
    Pushparaju.B.

  • BPM correlation and Sync-Asyn Bridge....

    Regarding Sync-Asyn ,I have gone thru these blogs...
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    I am not able to do a end to end scenario...using this ....So could any one give me a step by step guide for the syn-asyn Bridge.
    And also step by step for correlation...
    Please help me in this regard....

    Hi,
    Defining Sync/Async Communication
    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.
    You can also achieve sync/async communication by using the JMS adapter. If you do not have any particular demand for monitoring or for troubleshooting, SAP recommends that you use sync/async communication in the JMS adapter instead. The advantage of using the JMS adapter over synch/async communication using an integration process is a significant increase in system performance.
    See: Async/Sync and Sync/Async Bridge in JMS Adapter
    Structure of a Sync/Async Bridge
    The following table outlines the minimum components of a sync/async bridge:
    Step
    Use
    Receive step to open the sync/async bridge
    Receives the message request from the synchronously calling business system and opens the sync/async bridge
    Asynchronous send step
    Sends the received message asynchronously to the asynchronously called business system
    Receive step
    Receives the message from the asynchronously called business system
    Send step to close the sync/async bridge
    Sends, for example, the response from the asynchronously called business system to the synchronously calling business system
    Performance Considerations
    If you insert additional steps in the sync/async bridge, the synchronous time is increased correspondingly. If the time that elapses before the sync/async bridge is closed is too long, this can lead to problems.
    Fault Messages
    It is currently not possible to send fault messages back to the synchronously calling business system. If you want to return error statuses to the synchronously calling business system, you can define a field for an error indicator in the message that is sent to the synchronous interface.
    Procedure
    Define a Receive Step to Open the Sync/Async Bridge
           1.      Insert the receive step to open the sync/async bridge in the integration process.
    You can do this at the following points:
    ○       Directly after the start marker
    ○       As the first step in a block if the block is the first step of the integration process and if it has the mode Standard
    ○       As the first step in a fork. If the fork already contains some starting receive steps, the Start Process indicator is automatically reset for these steps.
           2.      In the object area, define the container element that receives the synchronously sent message.
    Specify an asynchronous, abstract interface in the container element. The message must correspond to the request message of the synchronous interface used to receive the message.
           3.      Select this container element in the Message field in the properties area of the receive step.
           4.      In the Mode field, select Open S/A Bridge.
           5.      Select the Start Process field.
    The receive step to open the sync/async bridge must start the integration process. There must be no other receive steps to start the integration process.
           6.      Specify the synchronous interface for receiving the message from the synchronously calling business system. The message type of the message to be received and the request message from the synchronous interface must be identical.
    Define an Asynchronous Send Step
           7.      Insert a send step that sends the received message asynchronously to the asynchronously called business system.
    See also: Sending Messages from Integration Processes Asynchronously
    Define a Receive Step
           8.      Insert a receive step that receives the message from the asynchronously called business system.
    Define a Send Step to Close the Sync/Async Bridge
           9.      Insert the send step at the required position in the process definition.
    Do not insert the send step in a loop, block, or fork.
       10.      In the Mode field, select Close S/A Bridge.
    The integration process must not contain any further send steps to close a sync/async bridge.
       11.      In the Opened By field, specify the receive step that opened the sync/async bridge.
       12.      In the message field, specify the message that is sent to the synchronous interface.
    This message must be of the same type as the response message from the synchronous interface that you specified in the opening receive step.
    Example
    You can find an example of a sync/async bridge in the Integration Repository under SAP Basis à SAP Basis 6.40, namespace http://sap.com/xi/XI/System/Patterns under BpmPatternSyncAsyncBridge.
    For a description of the example, see Example: Sync/Async Communication.
    Reg,
    suresh

  • Correlation and Sync Asyn Bridge

    Regarding Sync-Asyn ,I have gone thru these blogs...
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    I am not able to do a end to end scenario...using this ....So could any one give me a step by step guide for the syn-asyn Bridge.
    And also step by step for correlation...
    Please help me in this regard....
    <Moderator note: thread locked. I moved your last post to XI, please do not post duplicate questions>
    Edited by: Mike Pokraka on Jul 7, 2008 1:00 PM

    Regarding Sync-Asyn ,I have gone thru these blogs...
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi - Use of Synch - Asynch bridge in ccBPM
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    I am not able to do a end to end scenario...using this ....So could any one give me a step by step guide for the syn-asyn Bridge.
    And also step by step for correlation...
    Please help me in this regard....
    <Moderator note: thread locked. I moved your last post to XI, please do not post duplicate questions>
    Edited by: Mike Pokraka on Jul 7, 2008 1:00 PM

  • Sync-Asyn Bridge

    Hello friends,
    Could any one give information or blog on Synch -Asyn Bridge used in HTTP --> RFC scenario

    Hi,
    Refer this..
    https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    BPM Sync- Async Bridge
    Pipeline timeout error
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e3d59c90-0201-0010-ac83-cfd0071f095a
    Who to manage TimeOut in BPM ?
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/eb5cc090-0201-0010-5284-fd5376b01934
    /people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - Use of Synch - Asynch bridge in ccBPM
    regards,
    vasanth.

  • Doubt on Syn/Asyn Bridge scenario without BPM

    I followed the how to guide “How To Realize a sync-async and async-sync bridge within the Adapter Framework”,but issue still exists.
    It’s a File(QoS:BE)<=>Idoc scenario
    1 File adapter sends a sync booking request to idoc(MSG type: FLIGHTBOOKING_CREATEANDRESP)
    2 The idoc creates a booking in its system and then sends a async confirmation response(MSG type:
    FLIGHTBOOKING_SENDRESPONSE) to the sender(sync file adapter)
    In ID, there are 2 receiver determinations and 2 IF determinations for the request and the response.
    <b>Sender business system: NWB_FileSystem_XML</b>
      Sender CC: Syn_SenderChannel_FileXML
        Parameters Tab
    Qos:BE
    Poll Interval(secs) : 60
    Processing Mode: Delete  (Successfully processed files are deleted)
    Adapter-Specific Message Attributes: Select “File name”
    Module Tab
      Processing Sequence
        AF_Modules/DynamicConfigurationBean      0
        AF_Modules/RequestOnewayBean            1
        CallSapAdapter                            2
        AF_Modules/WaitResponseBean              3
      Module Configuration
        0     key.0            write http://sap.com/xi/XI/System/File FileName
        0     value.0          message.correlationId
        1     passThrough     true
        3     timeout          40000
      Receiver CC: Dummy_ReceiverChannel_FileXML
        Parameters Tab
          Adapter-Specific Message Attributes: Select “File name”
    Module Tab
      Processing Sequence
        AF_Modules/DynamicConfigurationBean      0
            AF_Modules/NotifyResponseBean             1
      Module Configuration
        0     key.0            read http://sap.com/xi/XI/System/File FileName
        0     value.0          message.correlationId
        1     timeout          40000
    <b>Receiver business system: nwb_107</b>
      Receiver CC: GeneratedReceiverChannel_Idoc
    <b>Agreements</b>
    Sender Agreement for NWB_FileSystem_XML uses CC: Syn_SenderChannel_FileXML
    Receiver Agreement for NWB_FileSystem_XML uses CC: GeneratedReceiverChannel_Idoc
    Receiver Agreement for nwb_107 uses CC: Dummy_ReceiverChannel_FileXML
    The problems is:
    The scenario only executes once and there are 2 XML messages in SXI_MONITOR with status “Processed successfully”.One of the message from idoc to file has the Acknowledgement MSG status “still awaiting acknowledgement”
    In the runtime workbench,the status of CC:Syn_SenderChannel_FileXML is correctly configured and started.The latest Processing Details of Syn_SenderChannel_FileXML is “3/13/07 9:13:12 PM Processing started”
    Regards
    Ming

    The trace of the message from IDOC to File in SXI_MONITOR:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Response
      -->
    - <SAP:Trace xmlns:SAP="http://sap.com/xi/XI/Message/30">
      <Trace level="1" type="B" name="IDX_INBOUND_XMB" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">User: PIAPPLUSER</Trace>
      <Trace level="1" type="T">Language: E</Trace>
      <Trace level="1" type="T">ALE-AUDIT-IDoc-Inbound Handling</Trace>
      <Trace level="1" type="T">IDoc-Inbound-Handling</Trace>
      <Trace level="1" type="T">Syntax-Check-Flag X</Trace>
      <Trace level="1" type="T">IDoc-Tunnel-Flag</Trace>
      <Trace level="1" type="T">Queueid</Trace>
    - <Trace level="1" type="B" name="IDX_IDOC_TO_XML">
      <Trace level="1" type="T">Get the Metadata for port SAPNWB</Trace>
      <Trace level="1" type="T">Convert Segment-Definitions to Types</Trace>
      <Trace level="1" type="T">Make Syntax check of actual Idoc</Trace>
      </Trace>
      <Trace level="1" type="T">Set Receiver Routing-object</Trace>
      <Trace level="1" type="T">Exit Function IDX_INBOUND_XMB</Trace>
      <Trace level="1" type="T">COMMIT is expected by application !</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-ENTER_XMS" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-SET_START_PIPELINE" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="SXMBCONF-SXMB_GET_XMB_USE" />
      <Trace level="1" type="B" name="CL_XMS_TROUBLESHOOT-ENTER_PLSRV" />
      <Trace level="1" type="T">****************************************************</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">XMB entry processing</Trace>
      <Trace level="1" type="T">system-ID = NWB</Trace>
      <Trace level="1" type="T">client = 100</Trace>
      <Trace level="1" type="T">language = E</Trace>
      <Trace level="1" type="T">user = PIAPPLUSER</Trace>
      <Trace level="1" type="Timestamp">2007-03-13T13:13:12Z UTC+8</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">* *</Trace>
      <Trace level="1" type="T">****************************************************</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_UC_EXECUTE" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Message-GUID = DBD16497D8475CF186920017314ECFFB</Trace>
      <Trace level="1" type="T">PLNAME = CENTRAL</Trace>
      <Trace level="1" type="T">QOS = EO</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_ASYNC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Get definition of external pipeline = CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Get definition of internal pipeline = SAP_CENTRAL</Trace>
      <Trace level="1" type="T">Queue name : XBTI0007</Trace>
      <Trace level="1" type="T">Generated prefixed queue name = XBTI0007</Trace>
      <Trace level="1" type="T">Schedule message in qRFC environment</Trace>
      <Trace level="1" type="T">Setup qRFC Scheduler OK!</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Going to persist message</Trace>
      <Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
      <Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
      <Trace level="1" type="T">- Exit CALL_PIPELINE_ASYNC</Trace>
      <Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">--start sender interface action determination</Trace>
      <Trace level="1" type="T">select interface FLIGHTBOOKING_SENDRESPONSE.FLIGHTBOOKING_SENDRESPONSE01*</Trace>
      <Trace level="1" type="T">select interface namespace urn:sap-com:document:sap:idoc:messages</Trace>
      <Trace level="1" type="T">no interface found</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
      <Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
      <Trace level="1" type="T">system-ID = NWB</Trace>
      <Trace level="1" type="T">client = 100</Trace>
      <Trace level="1" type="T">language = E</Trace>
      <Trace level="1" type="T">user = PIAPPLUSER</Trace>
      <Trace level="1" type="Timestamp">2007-03-13T13:13:12Z UTC+8</Trace>
      <Trace level="1" type="T">----
    </Trace>
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC">
      <Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>
    - <Trace level="1" type="B" name="PLSRV_RECEIVER_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_RD_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">R E C E I V E R - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    - <Trace level="1" type="B" name="PLSRV_INTERFACE_DETERMINATION">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_ID_PLSRV-ENTER_PLSRV">
      <Trace level="1" type="T">I N T E R F A C E - D E T E R M I N A T I O N</Trace>
      <Trace level="1" type="T">Cache Content is up to date</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="B" name="PLSRV_RECEIVER_MESSAGE_SPLIT" />
    - <!--  ************************************
      -->
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
      <Trace level="1" type="B" name="CL_XMS_PLSRV_RECEIVER_SPLIT-ENTER_PLSRV" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">number of receivers: 1</Trace>
      <Trace level="1" type="T">Single-receiver split case</Trace>
      <Trace level="1" type="T">Post-split internal queue name = XBTO6___0001</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Persisting single message for post-split handling</Trace>
      <Trace level="1" type="T" />
      <Trace level="1" type="T">Going to persist message + call qRFC now...</Trace>
      <Trace level="1" type="T">NOTE: The following trace entries are always lacking</Trace>
      <Trace level="1" type="T">- Exit WRITE_MESSAGE_TO_PERSIST</Trace>
      <Trace level="1" type="T">Async barrier reached. Bye-bye !</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-PERSIST_READ_MESSAGE" />
      <Trace level="1" type="T">Note: the following trace entry is written delayed (after read from persist)</Trace>
      <Trace level="1" type="B" name="SXMS_ASYNC_EXEC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Starting async processing with pipeline CENTRAL</Trace>
      <Trace level="1" type="T">system-ID = NWB</Trace>
      <Trace level="1" type="T">client = 100</Trace>
      <Trace level="1" type="T">language = E</Trace>
      <Trace level="1" type="T">user = PIAPPLUSER</Trace>
      <Trace level="1" type="Timestamp">2007-03-13T13:13:12Z UTC+8</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PIPELINE_SYNC" />
    - <!--  ************************************
      -->
      <Trace level="1" type="T">Get definition of external pipeline CENTRAL</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-LOOKUP_INTERNAL_PL_ID" />
      <Trace level="1" type="T">Corresponding internal pipeline SAP_CENTRAL</Trace>
      <Trace level="1" type="T">Start with pipeline element PLEL= 5EC3C53B4BB7B62DE10000000A1148F5</Trace>
    - <Trace level="1" type="B" name="PLSRV_MAPPING_REQUEST">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
    - <Trace level="1" type="B" name="CL_MAPPING_XMS_PLSRV3-ENTER_PLSRV">
      <Trace level="1" type="T">Interface Mapping http://sap.com/xi/XI/Demo/Agency FBOConfirmation_AirlineIDoc2Agency</Trace>
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    - <Trace level="1" type="B" name="PLSRV_OUTBOUND_BINDING">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV">
    - <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL">
      <Trace level="1" type="B" name="CL_XMS_PLSRV_OUTBINDING-ENTER_PLSRV" />
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
    - <Trace level="1" type="B" name="PLSRV_CALL_ADAPTER">
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV" />
    - <!--  ************************************
      -->
      <Trace level="1" type="B" name="CL_XMS_MAIN-CALL_PLSRV_LOCAL" />
    - <!--  ************************************
      -->
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_IE_ADAPTER-ENTER_PLSRV">
      <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP" />
      </Trace>
      </Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      </Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">Async processing completed OK.</Trace>
      <Trace level="1" type="T">system-ID = NWB</Trace>
      <Trace level="1" type="T">client = 100</Trace>
      <Trace level="1" type="T">language = E</Trace>
      <Trace level="1" type="T">user = PIAPPLUSER</Trace>
      <Trace level="1" type="Timestamp">2007-03-13T13:13:13Z UTC+8</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    - <!--  ************************************
      -->
      </SAP:Trace>

  • Getting Time-Out Error in Sync-Async Bridge

    Hi All,
    My IP has a Sync-Async Bridge. I have a fork, two senders, two switchs and a transformation step inside the bridge.
    If XI takes much time to process the IP, the send step that closes sync-async bridge is not waiting for the message after a particular period and throws time out error to the sender.
    Is it possible to increase the waiting time for sync-async bridge?
    This IP works correctly 8 out of 10 times. Sometimes the message is sitting permenantly in the queue(smq2) and gives me system failure error.
    Can u tell me why this problem happening?
    Thanks & Regards,
    Senthil.

    Dear Michal/Senthil,
    Can you pl clear a confusion that i have had for ages...
    suppose there is a sync/async bridge ( i understand that it is used for sync business system too async BS communcation )
    where we have 4 steps
    sync receive - > async send -> async receive -> sync send..
    i do understand that async send and async receive are combined through correlation
    but i do not understand how do they work..
    i mean when async send say send a file to a target system...does async receive reads a file from the same folder based on the corelation or wat...
    basically can you pls explain me how do the steps 2 and 3 above work
    Edited by: Tarang Shah on Mar 3, 2009 12:51 PM

  • 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

  • Sync/Async bridge via JMS with FAULT messages

    Hello all,<br><br>
    I set up a sync/async bridge scenario with using of JMS communication channel (SAP - JMSReceiverCC - JMSServer and application - JMSSenderCC - SAP). The normal communication works fine.<br>
    But what we can not solve is the Fault Message handling. If there is a application error behind the JMS, a fault message is generated instead of proper application response and sent back to XI. Without any additional setup of JMS Sender CC the processing of the message ends with "MAPPING - EXCEPTION_DURING_EXECUTE", because normal "response mapping" is executed instead of "fault message mapping". This is correct behavior without any discussion.<br><br>
    [SAPhelp|http://help.sap.com/saphelp_nw70/helpdata/en/45/202845de34072ce10000000a155369/frameset.htm] says that there are 2 module parameters to be set : fault, faultNamespace. The description is rather vague, so let's see, what the "NotifyResponseBean" does, when parameters fault/faultNamespace are filled:<br><br>
    <pre>if(fault != null && faultNamespace != null)
      if(faultNamespace.equals("http://sap.com/xi/XI/System"))
        ((XIMessage)message1).setMessageClass(MessageClass.SYSTEM_ERROR);
        ((XIMessage)message1).setError(fault, "no additional information");
      } else
        ((XIMessage)message1).setMessageClass(MessageClass.APPLICATION_ERROR);
        ErrorInfo errorinfo = message1.createErrorInfo();
        errorinfo.setAttribute("ApplicationFaultInterface", fault);
        errorinfo.setAttribute("ApplicationFaultInterfaceNamespace", faultNamespace);
        errorinfo.setAttribute("ErrorCode", fault);
        errorinfo.setAttribute("AdditionalErrorText", "no additional information");
        message1.setErrorInfo(errorinfo);
    } else
      ((XIMessage)message1).setMessageClass(MessageClass.APPLICATION_RESPONSE);
    }</pre><br>
    The code is pretty straight forward so one could assume, that it's the name and namespace of inbound synchronnous message interface what is supposed to be filled in the values of each parameter. And from that kind of information SAP XI can evolve how to handle the response, actually the fault.<br>
    Unfortunatelly the real situation is different - every time the fault message is generated and sent back to XI, the response is correctly corelated with the request message, "WaitResponseBean" and "NotifyResponseBean" are finished correctly and the processing crashes in messaging class on following exception:<br><br>
    java.lang.NullPointerException at java.util.Hashtable.put(Hashtable.java:592) at
    com.sap.aii.messaging.mo.MessageContext.setAttribute(MessageContext.java:140) at
    com.sap.aii.adapter.xi.ms.XIMessage.updateHeaders(XIMessage.java:4244) at
    com.sap.aii.adapter.xi.ms.XIMessage.getTransportHeaders(XIMessage.java:570) at
    com.sap.aii.af.ra.ms.impl.ServerConnectionImpl.request(ServerConnectionImpl.java:212) at
    com.sap.aii.af.ra.ms.impl.core.transport.http.MessagingServlet.doPost(MessagingServlet.java:337) at ...
    <br><br>
    Is there anyone, who can put more light on JMS sync/async bridge fault handling ???
    <br><br>
    Thank you ...<br>
    Regards
    Tomas

    Hello again,
    I proceed in investigation little more, but the main problem has not been solved. I found that the problem is not even in WaitResponseBean (placed in JMCReceiverCC). This bean is woken up properly on base of proper CorrelationID. See the log:
    2009-10-15 11:00:33 Success WRB: entering WaitResponseBean
    2009-10-15 11:00:33 Success WRB: retrieving the message for f1ea1fc0-b96d-11de-9b68-00144f4acd86 ...
    2009-10-15 11:00:46 Success WRB: retrieved the message: ApplicationError
    2009-10-15 11:00:46 Success WRB: leaving WaitResponseBean
    I think, that the problem is somewhere within main messaging functionality. I suppose that on base of exception message:
    com.sap.aii.messaging.mo.MessageContext.setAttribute(MessageContext.java:140) at
    which is generated.
    Any ideas or comments ?
    Thank you in advance.
    Regards
    Tomas

  • 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

  • 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

  • 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

  • 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

  • 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

  • Async-Sync-Async Bridge Without BPM

    HI Folks,
    I have a requirement as
    u201CAn Asynchronous SOAP request is triggered to PI and then should get records from a (JDBC)database and write the result to a fileu201D
    It is of Aync-Sync-Async Bridge and i have to do without BPM
    I know by using some module parameters at sender communication channel we can do this.
    But my query
    1)Is that for SOAP sender communication channel can we provide the same module parameters
    Number - ModuleName - Type - ModuleKey
    1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
    2- CallSapAdapter-Local Enterprise Bean - 2
    3-AF_Modules/ResponseOnewayBean-3
    Parameters
    ModuleKey - ParameterName - ParameterValue
    1 - passThrough - true
    3-receiverChannel - Receiver File Adapter Name
    3-receiverService - Receiver Business Service/ System
    2) Does the SOAP support the without BPM scenarios
    3)Scenario is like Soap --> JDBC -->File (Async - Sync - Async) and how abt for Soap --> RFC -->File (Async - Sync - Async)
    Thanks in Advance
    Lemon

    For your requirement , you can handle this scenario without BPM in two ways.
    1) Async sync bridge without BPM.   You are going to use request response bean and one way response bean module to achieve this. very simple. See this [link|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)]
    In the sender SOAP channel you have to configure first request response bean, second callsapadapter and third onewayresponse bean. Refer this link. Simply follow file sender configuration for your soap sender or RFC sender.
    Note: one receiver agreement , one receiver determination, one interface determination. only two receiver channels one jdbc and one file.
    2) You can create SOAP  to File asynchronous.  Using quality of service  EO and creating service interface asynchronous mode.   In the mapping area do JDBC lookup.  If your version is 7.1 then this lookup is available. This is pretty simple no need to do async to sync pattern.
    Hope that helps.

Maybe you are looking for

  • Cannot connect to Exchange server (Small Business Server 2008) using Windows 8.1 and Outlook 2013

    I am at my wits end. I have got a new PC running Windows 8.1 and Outlook 2013 simply WILL NOT connect to my work Exchange server. The REALLY annoying thing is that the Windows Mail client inbuilt to Windows 8.1 works perfectly! But I have to have Out

  • Problem in Material Extension

    Hi! When I extent one material to a plant->sales organization->Dist. Channel, it is extending in all the plants assigned to that sales organization->distr. channel. Can anybody help me to solve this problem? Thanks and regards Biswajit

  • I downloaded internet explorer 9 and now firefox will not load web sites

    The site could be temporarily unavailable or too busy. Try again in a few moments. If you are unable to load any pages, check your computer's network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox

  • Dynamic Skinning in Flash

    Hello, I have a question. I am a designer by trade, but recently I have been toying more and more with code as a creative medium. This is my first attept to play with an API, and this is basically what I'd like to accomplish: I need to load the RSS f

  • Giving AuthenticationFailedException !!!!

    Hi every body I am new in JavaMail , I am trying to send a mail in java . Here is my code : import javax.mail.*; import javax.mail.internet.*; import javax.activation.*; import java.io.*; import java.util.Properties; public class MailClient      publ