Asynch Synch Bridge

Hi,
I have a scenario where i pick up a request from JMS queue and send to WEBService. The response i get from WebService is put into another queue.
I understand that we have to use Asynch Synch bridge for this.
But can anyone specify what is the actual need for the Asynch Synch Brdige.
Thanks
Varghese

Hey
async-sycn bridge is used in BPM when the sender system can only send/receive async calls but the receiver system can send/receive synchronous calls.
there is a blog on SDN,File to RFC with BPM.
in that blog you have a async File system(sender) sending a request to RFC and getting back the response and posting it back in the File system
Thanx
Aamir
Edited by: Aamir Suhail on Feb 19, 2008 6:15 PM

Similar Messages

  • File-Soap-File scenario with asynch - synch bridge

    Hi,
    I am new to PI and I'm trying to develop a FIle-SOAP-File scenario with asynch-synch bridge. These are the components in my integration builder:
    Business Component to act as both the sender and receiver
    1 outbound communication channel to pick up the file from ftp server
    1 SOAP communication channel
    1 inbound communication channel to write file to the ftp server
    receiver determination
    interface determination
    sender agreement
    receiver agreement
    In my outbound channel, I am using:
    Processing sequence:
    1     AF_Modules/RequestResponseBean                Local Enterprise Bean     1
    2     CallSapAdapter                                                         Local Enterprise Bean     2
    3     AF_Modules/ResponseOnewayBean                Local Enterprise Bean     3
    Module configuration:
    1     passThrough                         true
    3     receiverChannel                        inbound communication channel to write file to the ftp server
    3     receiverService                         Business component where the channel above is found.
    When I run the scenario, I am able to get the file from ftp server, map it to SOAP format according to the wsdl, forward the message to SOAP adapter, send it to web service, get the response back from web service, map the data to a regular file format. However, it fails to write back to the ftp server.  I am getting Java null pointer error at AF_Modules/ResponseOnewayBean.
    2010-07-28 15:48:01     Information     SOAP: completed the processing
    2010-07-28 15:48:01     Information     SOAP: continuing to response message 2ce3ec60-9a9a-11df-b109-00145ec5c1ae
    2010-07-28 15:48:01     Information     The message was successfully delivered to the application using connection SOAP_http://sap.com/xi/XI/System.
    2010-07-28 15:48:01     Information     The message status was set to DLVD.
    2010-07-28 15:48:02     Information     The message was successfully transmitted to endpoint http://vs06cs01.sce.com:8000/sap/xi/engine?type=entry using connection File_http://sap.com/xi/XI/System.
    2010-07-28 15:48:02     Information     The message status was set to DLVD.
    2010-07-28 15:48:02     Information     The application sent the message synchronously using connection File_http://sap.com/xi/XI/System. Returning to application.
    2010-07-28 15:48:02     Information     MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2010-07-28 15:48:02     Error     MP: exception caught with cause java.lang.NullPointerException:
    2010-07-28 15:48:02     Error     File processing failed with java.lang.NullPointerException:
    Had anyone encountered this error? Any suggestions is greatly appreciated.
    Thanks.

    Thanks for the replies. I checked my module parameters and I realized that i entered the wrond business service. I fixed that and ensure that all 3 channels are running.
    I ran the scenario again and it does not give me Java Null pointer exception. However, it gives me a different errror.
    2010-07-29 08:52:31     Information     The message status was set to DLVD.
    2010-07-29 08:52:31     Information     MP: processing local module localejbs/AF_Modules/ResponseOnewayBean
    2010-07-29 08:52:31     Error     MP: exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    2010-07-29 08:52:31     Error     File processing failed with com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    I am trying to check all my settings again. Any pointers regarding the errors above?
    Thank you.

  • Async -Synch Bridge

    Hi,
    I need the process for Asynch -synch Bridge.
    Scenario ->   FileBAPI---SQL Server
    Regards,
    Jayasimha Jangam

    Hi,
    Defining Sync/Async Communication
    Use
    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.
    BPM is an additional advantage of Netweaver XI. it provides features like Sync-Async Bridge, Async-Sync Bridge, stateful msgt processing.....so on.
    Sync-Async Bridge acts as a bridge between a synchronous Business system and Asynchronous business system.
    forex: if u r communicating with a synchronous RFC to a File system(always asynchronous, which is not able to send any response to synchronous RFC Interface).
    In this kind of scenarios BPM Sync-Async Bridge enables communication between a Synchronous RFC to Asynchronous File system or vice versa..
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages
    Plz go thru the following:
    /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
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] - Use of Synch - Asynch bridge in ccBPM
    Asyn - Synch BPM - /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    http://help.sap.com/saphelp_nw70/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    http://help.sap.com/saphelp_nw70/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm
    Example on Sync/Async communication:
    http://help.sap.com/saphelp_nw04s/helpdata/en/43/65d4dab39b0398e10000000a1553f6/frameset.htm
    Reward points if helpful..
    Regards,
    Soumya

  • Asynch/synch scenario w/ Adapter Modules - NullPointerException

    Hello folks,
    I'm implementing a Asynch/synch scenario (File -> RFC -> Mail) using the Adapter Modules RequestResponseBean & ResponseOnewayBean. I've configured the modules & paremeters as per the links below.
    [Configuring the Async/Sync Bridge in the Sender JMS Adapter|http://help.sap.com/saphelp_nwpi71/helpdata/en/45/20d251c20a0732e10000000a155369/content.htm]
    [File - RFC - File without a BPM - Possible from SP 19|File - RFC - File without a BPM - Possible from SP 19.;
    [File-RFC-File(Without BPM)|http://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File(Without%20BPM)]
    I got the following error when I configured the module parameters exactly as in the above wiki
    MP: exception caught with cause com.sap.aii.af.service.cpa.impl.exception.CPAObjectKeyException: Value of key must not be null: ObjectId
    Then I added the module parameters 'adapterType' & 'adapterNamespace' for ResponseOnewayBean. The above error got resolved but resulted in a different error on the receiver Mail adapter.
    failed to send mail: java.lang.NullPointerException: while trying to invoke the method com.sap.aii.af.sdk.xi.mo.xmb.XMBParty.setLocalName(java.lang.String) of an object loaded from local variable 'senderParty'
    However, the mail is being sent. Because of the error the file adapter is unable to delete the file after processing.
    When I use the same mail adapter in another File to Mail Asynch scenario, I see no such error. I believe the error has got something to do with ResponseOnewayBean.
    I've implemented such scenario a few times at my past clients, but did not face any issues with them.
    Did anyone get such error? Please help in resolving this error.
    thx in adv
    praveen
    Edited by: Praveen Sirupa on Jan 20, 2011 8:18 PM
    Changed the formatting

    Thanks to [Austin's post|Re: Wiki File-RFC-File], I found a SAP note ([1261159|https://service.sap.com/sap/support/notes/1261159]) to resolve the issue.

  • To create an asynch - synch - asynch flow with XI, without BPM

    I would like to create an asynch -> synch -> asynch flow with XI,
    without BPM.
    The solution with RequestResponseBean and ResponseOnewayBean modules in
    the File sender communication channel works fine.
    But now I would ask you how can I do if my sender is R/3, with IDocs?
    Because we cannot use modules in the IDoc sender communication channel,
    and I don't want to use BPM.
    Could you help me?
    Thanks in advance,
    Ram.

    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Refer to this blog. You may find a way out.
    Alternatively, I would rather know the reason behind you not using BPM.Coz its the best way to acheive the desired result.

  • Asynch-Synch without BPM

    Hello,
    We have an asynch to synch (File to RFC) which was successfully done using the blog (aysnch-synch without BPM). The interface works fine except when there are failures. Whenever there is a mapping failure, the module bean waits and does not process it which is a perfect synchronous behavior.  However is there a way to make use of the asynchronous property of the sender file adapter (which is to read the incoming files, archive them and may be queue them after the archive step incase of failures).  I tried the callsapadapter before the module bean call but it doesnu2019t seem to do the trick. Any advise is very helpful.
    Teresa

    Hi,
    It seems your scenario is working fine as per the blog.
    For archiving files in sender file adapter you have an option..in processing mode you can select Archive so that files that have been successfully processed are moved to an archive directory.
    Under Archive Directory, enter the name of the archive directory.
    If you want to archive the files on the FTP server, set the Archive Files on FTP Server indicator. If you do not set the indicator, the files are archived in the Adapter Engine file system.
    Thanks
    Hamja

  • Async / Synch bridge steps:

    Hi all,
    Kindly answer please
    a) send setp, synch receiver,asyn send,receiver step
    b) Receiver steps,Async send,Asyn receive,Send step
    c) receiver step,async send,Receiver step
    Regards,
    Madhu

    Hi,
    Have a look here:
    http://help.sap.com/saphelp_nw04/helpdata/en/86/80163f6b5baa09e10000000a114084/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/75/cc283f2bbad036e10000000a114084/content.htm
    Regards
    Suraj

  • How to handle Asynch Synch (IDoc - SOAP) interfce without using BPM

    Hi Experts,
    I have a Idoc to SOAP scenario and where I need to hadle SOAP response but for this how it can be handle without BPM I am unable to figure out. Specificaly it is a interfacce with SFDC (sales force.com) CRM and need to handle IDoc - SOAP interface and response needs to be captured with another idoc which can be sent back to SAP.
    Any suggestion will be helpful.
    Regards,
    Nitin Patil

    Hi,
    you cannot do it with IDOC adapter unless you have PI 7.3 without a BPM
    you need to use a different adapter like ABAP proxy (on java) or RFC
    hope it's clear,
    Regards,
    Michal Krawczyk

  • Sych/asynch scenario

    hi
    im expecting a new file to mail scenario
    does the term synch/asynch come in common with al l the scenarios
    could u help me out to fiond out wat it is

    Synch - Asynch Scenario refer to scenarios in which one of the systems ( sending or receiving ) is a Synch system while the other is Asynch.
    The classical example used here is a File - RFC- File.
    File Adapter does not supprot Synch Calls.Say you have a requirement where you need to pick a file, call and RFC synchronously from the source file data and send the RFC response back to the file.
    In these cases, as File Adapter are always Asynch and RFC's are synch, you need a Asynch - Synch Bridge to handle this.
    Liekwise, the other way around HTTP - JMS is a classical Synch - Asynch example.
    HTTP sends a Synch Request and expects a response back. The reciever is a JMS adapter that does not support Synch calls, so you use a BPM and a Synch - Asynch Bridge to hanle this and send the response from the JMS back to HTTP and so on.
    To sum up any communication between a Synchronous and Aysnchronous system in XI is generally referred to as a Synch - Asynch Call.
    Regards
    Bhavesh

  • Unable to clone File Adapter receiver channel for parallel processing

    Hi Experts,
    I am using variable substitution for File - RFC - File with out BPM scenario(using request response, oneway bean).
    While i placed the file in the sender FTP folder, the file didnt get picked up, but in communication channel monitoring, i am getting error ' Unable to clone File Adapter receiver channel for parallel processing'.
    Can anybody provide me suggestions to solve this error.
    Note : without variable substitution , the interface is working good.
    Is it due to, i am trying the source structure field in response file adapter?

    Hi,
    In your CC, do you use some additional paramaters ?
    like these one of point 47/48 of [Oss note 821267 - FAQ: XI 3.0 / PI 7.0/ PI 7.1 File Adapter|https://service.sap.com/sap/support/notes/821267]
    Maybe there is conflict with a parallel connexion and the bean used to do asynch-synch bridge...
    Mickael

  • Executing an Oracle Stored Procedure from Sender JDBC adapter

    I could really use some help from someone who had done this before. 
    I've read the help about using the JDBC sender adapter, but it's not helping enough.
    I found this line: "Specify an SQL EXECUTE statement to execute a stored procedure, which contains exactly one SELECT statement.
    The expression must correspond to the SQL variant supported by the relevant JDBC driver. It can also contain table JOINs."
    That's definately what we want to do, but we can't figure out the syntax.
    The procedure in oracle looks like this:
    CREATE OR REPLACE PROCEDURE test_ref_cursor
    ( cur_generic IN OUT result_sets.cur_generic)
    as
    BEGIN
    Open cur_generic for
    select
       proposal_number,
       to_char(sequence_number),
       column_name,
       column_value,
       update_timestamp,
       update_user
       from
       coeus.sap_test;
    END test_ref_cursor;
    And we have tried every kind of statement we can think of, but the file adapter always gives us an "invalid sql statement" error.
    Does anyone know what syntax we need to put in the "Query SQL Statement" in the JDBC sender adapter in order to call this procedure?  Or is there something wrong with the procedure that is causing the error?
    <i>I will absolutely return and give points, but PLEASE read my whole post before answering and do not just link me to or quote the help for configuring a sender JDBC adapter or blogs that are about the JDBC adapter in general but do not deal with the issues I am having. Thank you.</i>

    Hi Vanda,
    Unfortunately, the sender JDBC adapter does not support Oracle's store procedure/function.  Unlike stored procedures from other database vendors, Oracle returns a cursor, not a resultset.  The sender JDBC adapter must send a resultset to XI.
    There are 2 possible ways you can accomplish this:
    1.  Use BPM and call the Oracle stored procedure using a receiver adapter via a asynch-synch bridge.
    2.  Develop a user-module for the adapter, which can be used with a sender adapter.
    Thanks
    Prasad

  • SOAP Response Message Capture in PI 7.1

    Hi
    I am working on Proxy to SOAP scenario and web service is synchronous to the external vendor,
    ECC Sends a message to External Vendor by using the Web service(ClaimSearch Request Proxy) and would be receiving the response back from the External vendor  by SOAP 
    I want to capture the SOAP response and send it to ECC by different proxy (ClaimSearch Response) proxy, 
    Do I need to use BPM to capture the response and sends it across to the ECC
    Please suggest how can I capture the SOAP response and send it to ECC,
    Thanks a lot in advance
    PR

    Hi!
    If your scenario is completely synchronous the sending proxy expects a response.
    If your scenario is asynch Proxy to synch SOAP, you can use the so-called asynch-synch bridge in BPM to achieve what you need.
    1. asynch send ECC Proxy to XI/PI BPM
    2. In BPM mapping and synch send XI/PI to SOAP Receiver
    3. In BPM synch receive of SOAP response
    4. in BPM decision which ECC Proxy is to be called asynchrobously
    5. if neccessary mapping
    6. asynch send response to ECC Proxy
    You can have a look at the process patterns delivered by SAP and search for synch/asynch resp. asynch/synch bridge in SDN and/or help.sap,com
    Hope this helps!
    Regards,
    Volker

  • Split Message, send to webservice and consolidate the results

    Hello,
    I am looking for some support / examples for following situation:
    A webservice is existing that only allows a single message to be entered. The webservice will return the result on this message. The structure of the message is very simple as it contains only one element. (Same for the response)
    What I would like to do is to be able to send a list of several values to be checked by this webservice. The idea is to build a BPM to send a multi-element message (repeating element / different values) , split this multi element message into seperate messages including one element, send all these messages accordingly to the webservice, receive and collect all according responses and consolidate these again in a multiu-element response message.
    If someone would have a description or an example with the different needed steps how to build this BPM, this would be nice.
    Thanks in advance !
    Edited by: Keno Torfs on Mar 4, 2008 11:30 AM

    hi,
    just open asynch synch bridge
    you will be creating multi-line container with interface variable as instance.
    assumption is a source system is pumping messages of same data type.
    recieve step to get the messages.
    you just collect the messages using container
    then use reciever determinaton step to get the receivers in receiver variable .
    use the transformation step to get the target messgaes
    loop through the target message container and execute send step. after send step collect message.
    note:in loop step we have decrement message counter  send step which has collection variable for response.
    hope you got some  idea.
    Regards,
    Ram

  • CO_TXT_ROUTING_BACK_ERROR

    Hi Gurus,
    IDOC to Webservice
    I used BPM (used Asynch-synch bridge )
    Orders.Orders05 is my IDOC
    I am getting following error.
    <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="OUTBINDING">CO_TXT_ROUTING_BACK_ERROR</SAP:Code>
      <SAP:P1>,BS_ECC</SAP:P1>
      <SAP:P2>,ECC_LS,http://sap.com/xi/XI/Message/30,Acknowledgment</SAP:P2>
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error occurred during back-routing Error in communication channel</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Regards,
    Kalpana

    hi
    i think the error is due to the returm message from WS.
    you cant handle the reply message for IDOC as u rv doing for other scenario.
    to handle the reply message for IDOC we need to configure ALEAUD.
    please follow thw link
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    Configuration Tips for a Business Service/Integration Process to send back ALE audit IDOC
    regards,
    navneet

  • IDOC to Webservice (Async/Sync scenario)

    Hi Experts,
    Can you please help me out need to design an SEnario
    IDOc to webservices useing SOAP. to External WEbservice,
    I need some step to design.and Need to validate VEndor Number in that. in External webservice.
    Reg's
    Raj

    hi raj,
    u can use asynch/synch bridge in bpm for synch idoc-xi-soap.
    for bpm refer:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    for soap adapter refer;https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79
    for idoc refer:
    /people/prateek.shah/blog/2005/06/08/introduction-to-idoc-xi-file-scenario-and-complete-walk-through-for-starters - IDoc to File
    /people/swaroopa.vishwanath/blog/2007/01/22/ale-configuration-for-pushing-idocs-from-sap-to-xi - ALE settings for R3-XI
    u can refer all these links and complete ur scenario.
    [reward if helpful]
    regards,
    latika.

Maybe you are looking for

  • Dynamic Configuration-File to File in scenario

    Hi Experts, As per the requirement needs to supress the numeric extensions of the files and transfer to the receiver. Example: file name is XXX123.txt , but after picking up by sender communication channel in XI that file needs to converts XXX.txt an

  • Unable to See Camera Angles in Multi-Camera View

    Hello Adobe Community, I seem to be missing the ability to see my camera angles in Multi-Camera view as you can see in the picture below. I feel it may caused by me trying to get Adobe Encore to work. I have been trying to get Encore by installing an

  • Upgrade from iPhoto or Aperture 2 library?

    I have Aperture 2 installed alongside iPhoto. The libraries are nearly identical with some recent shots since yearend in iPhoto but not yet transferred to Aperture 2, but they easily could be. I have purchased Aperture 3, and I am wondering am I bett

  • Set parameters values depending on other parameters

    Is it possible in the Bex to have a parameter to be used to load data from another infoprovider (then the one of the actual query) in order to populate a select-option in the query ? - a Customer exit variable seems to be able to only change its own

  • HT1766 how to transfer app from computer to iphone?

    hw to transfer app from computer to iphone?? please help me!