Http_synch-- file using synch/asynch bridge

I am trying to do the following scenario with bpm ( synch/asynch bridge)
Scenario:
1. Http client calls BPM synchronously (open the S/A bridge).
2. BPM sends the received  message to file adapter.
3. Another process reads the files and produces an output file (or I can do this manually).
4. The output file is sent back to BPM.
5. BPM returns the output message back to http synch (closes S/A bridge)
Integration Process Design :
1. Receive Synch (open the S/A bridge)
2. Send Asynch
3. Receive Asynch
4. Send Synch (close the S/A bridge)
When I call the BPM from the http client (QOS is BE or EO) , BPM receives the message and writes the file (so step1 and step 2 are okay). Then http client comes back with no response. That means BPM is not waiting for a message at step 3.
My understanding is BPM should wait on a receive step!
Even if I introduce a wait step after step 2, it doesn't help.
Why does the http client return before the s/a bridge is closed? Am I missing anything?
Please help.
Thanks

Hi,
><i>1. Receive Synch (open the S/A bridge)</i>
This will again be a receive step with mode as opens S?A bridge.
><i>Send Synch (close the S/A bridge</i>)
This is a Send Step with mode <b>CLOSES S/A BRIDGE</b> it will not be a Synch step.
<i>
My understanding is BPM should wait on a receive step!</i>
it should. Make sure that the file adapter is active. And see if the file has been picked up. Did you check the flow of the message in the BPE? Did the receive step get executed? I think it would have and the problem can be in the mapping.
Just take a look at the Synch - Asynch bridge example in this link,
http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
Regards,
Bhavesh

Similar Messages

  • Synch/Asynch Bridge

    Hi all,
    Can anyone tell me where exactly Synch/Asynch Bridge is used
    Thanx,
    krishna

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

  • Do I need to do a BPM / Synch-Asynch bridge ?

    SDNers,
    I have a scenario where a synchronous SOAP HTTP message will come in with data. Following steps are needed.
    1) Call a stored procedure to authenticate on a DB2 database. Possible JDBC adapter.
    1a) If authentication fails need to respond with error code in the SOAP-MSG and end.
    2) Call another stored procedure to post the data to temporary table and get back a unique ID.
    3) Return the response and unique ID to the SOAP-MSG.
    Can you please let me know -
    a) If I will need to create a BPM for this scenario. If not how ?
    b) If BPM is needed - will I need a Synch-Asynch bridge although I have all synchronous communication throughout the process. All the stored procedures to DB2 database are intended to be synchronous JDBC receivers.
    Thanks a lot in advance,
    Charu

    Thanks Sandro, Sudheer, Shweta and Venkat for your inputs.
    It certainly looks like there is no way other than BPM even though I have synchronous scenarios - espacially because of the authentication step.
    In case some of you are wondering why is not the authentication step and the subsequent step merged -The authentication are maintained in a separate system and hence a separate call is needed.
    Venkat - I will check out on the Synch/Asynch bridge.
    All - you have more inputs then please share your views.

  • Synch/Asynch Bridge TimeOut

    Hi,
    I am sending data to R/3 system through XI and waiting for response. If the R/3 takes half an hour to respond will my Synch/Asynch bridge will be still waiting for the response or will it die because of TIME_OUT.
    Can anyone let me know.
    Regards,
    Amar Nemalikanti

    Hi,
    There is a Time Out for the Sync/Async Communication.
    The settings can be done SXMB_ADM -> Integration Engine Config -> Change Specific Config -> Add a new entry
    Check the Category SA_COMM, see the help for its parameters.
    By default the time out setting is 60 seconds and the maximum allowed is 1000 seconds.
    Thanks & Regards,
    Renjith.

  • Connecting remote FoxPro dbf file using jdbc odbc bridge driver?

    Hi all,
    I am new to this topic, (even I read some threads)
    I need to access some FoxPro tables (dbf files) and select some data and save to an oracle table. what is the best method to do this?
    If I use java as development tool. which other drivers or methods to use beside jdbc-odbc driver?
    I read from this link but I didn't understand.
    http://java.sun.com/products/jdbc/faq.html#5
    "5. How can I use the JDBC API to access a desktop database like Microsoft Access over the network?
    Most desktop databases currently require a JDBC solution that uses ODBC underneath. This is because the vendors of these database products haven't implemented all-Java JDBC drivers.
    The best approach is to use a commercial JDBC driver that supports ODBC and the database you want to use. See the JDBC drivers page for a list of available JDBC drivers.
    The JDBC-ODBC bridge from Sun's Java Software does not provide network access to desktop databases by itself. The JDBC-ODBC bridge loads ODBC as a local DLL, and typical ODBC drivers for desktop databases like Access aren't networked. The JDBC-ODBC bridge can be used together with the RMI-JDBC bridge, however, to access a desktop database like Access over the net. This RMI-JDBC-ODBC solution is free.
    "

    Another solution by using HXTT DBF, a commercial type 4 JDBC package: You should read Remote Access Questions section at http://www.hxtt.net/en/software/dbf/faq.html#remote .

  • Can not open my video or music files using the bb bridge and my playbook

    i can open the pictures fine and the play book sees my phone and all folders but when i try to open video or music it says there is no files there. i no they are there i can't figure it out pictures no problem and all files are correct format ???? any help would be great.
    Solved!
    Go to Solution.

    These files are currently not available / supported.
    Be a Shepard and not an iSheep.

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

  • Can't read special characters in an excel file using JDBC

    Hi! I 've a code to read an excel file using JDBC-ODBC bridge. I can read the values, but any special characters is readed wrong, just symbols. The special characters are of spanish language. This is my code:
                    Locale currentLocale;
              currentLocale = new Locale("es", "MX");
              Locale.setDefault(currentLocale);
                   Class.forName( "sun.jdbc.odbc.JdbcOdbcDriver" );
                   c = DriverManager.getConnection("jdbc:odbc:Driver={Microsoft Excel Driver (*.xls)};DBQ=comisionesperfiles.xls");
                   stmnt = c.createStatement();
                   String query = "Select * from [Hoja1$]" ;
                   ResultSet rs = stmnt.executeQuery( query );
                   while( rs.next() ){
                        String valor = rs.getString(2) ;
                        if(valor != null && !"null".equalsIgnoreCase(valor)){
                             if(!comisiones.contains(valor)){
                                  System.out.println(valor);
                                  comisiones.add( valor );
                   rs.close();
                   stmnt.close();As you can see, I've tried to set the locale, but it didn't work.
    I'm using Excel 2003, Java Version 1.4.2_07 and Windows XP Professional (in latin american spanish).
    Hope someone can help me!

    FYI: Apache's POI can read/write Excel files in Java:
    http://jakarta.apache.org/poi/index.html

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

  • I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fa

    I'm using the latest photoshop cc 2014 with most updated camera raw... i am having A LOT/REPEATED trouble getting files to "synch" with corrections, no matter what i options i select (i.e. "everything")... WTH is wrong with me/my computer/adobe?! help. fast. please

    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster, who is not a Windows user).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • The type of Raw File used in my Canon 7D MKll is not supported in Bridge, Camera Raw or Photoshop 5S. How can I fix this?

    The type of Raw File used in my Canon 7D MKll is not supported in Camera Raw, Adobe Bridge or Photoshop 5S. How do I fix this?

    I gather you are using Photoshop CS5? The most recent Camera Raw version that CS5 will accept is ACR 6.7. Support for the Canon 7D Mark II was added in ACR 8.7.1. You will have to use the DNG converter to covert your CR2 files to the universal DNG raw format. Here are the links for the DNG converter:
    Adobe - Adobe Camera Raw and DNG Converter : For Windows : Adobe DNG Converter 8.7.1
    Adobe - Adobe Camera Raw and DNG Converter : For Macintosh : Adobe DNG Converter 8.7.1
    Benjamin

  • Bridge Opens files using Windows Photo viewer - not Photoshop CC.  How do I change default?

    Bridge opens image files using Windows Photo viwer - not Photoshop CC.  This is an utterly useless default setting.  How do I get Bridge to open a file in Photoshop?

    Edit/preferences/file type association.  Set extensions to prefered default.

  • I purchased PS CS6 recently as a student.  At TAFE today we were instructed to convert our NEF (nikon) files to dng files using the converter in Bridge.  However when I got home I don't seem to have the converter as far as I can see.  Can you help me plea

    I recently purchased PS CS6 as a student.  At TAFE today we were shown how to convert NEF (nikon) files to dng in Bridge.  C
    an anyone help me find the converter please?

    Adobe Camera Raw (ACR) would be the converter to do this from Bridge. In Bridge, select your nef files then Open in Camera Raw. In ACR, 'select all' then Save Images button at bottom of ACR and set save format to Digital Negative. (File extension should show dng.)

  • Doubt on Sync-asynch Bridge

    hi all,
             I was trying to understand the sync-asynch bridge concept and from what all i have read i have come to know that there is a sync-asynch and also asynch-sync bridge.This is used in a scenario say file-rfc-file.But i have done the same scenario without the bridge.I am still not clear where this bridge will fit into.
    Can anybody please explain me with suitable examples..
    thanks,
    Nisheeta

    Hi,
    File-RFC-file is Async-sync communication. There is nothink like async-sync bridge in BPM. Because for this, 3 steps are needed
    1. Receive - async
    2. send - sync
    3. send - async
    But for Sync-async scenario, a Sync-async bridge should opened using receive step.
    Example :  Http request - File && File - Http response
    Steps:
    1. Receive - open sync-async bridge --> To receive Http request
    2. Send - async --> To send message to File adapter.
    3. Receive - async --> To receive message from File adapter
    4. Send - close sync-async bridge --> To send Http response
    Example : http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.htm
    Hope this clears your doubt.
    Regards,
    Uma

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

Maybe you are looking for

  • Can't prevent iTunes from starting when I connect my iPhone

    I primarily connect my iPhone 4 to an iMac at home, on which pretty much all of my content is stored.  It's set up to sync wirelessly.  Until recently, I synced my calendar and contact data to Outlook on my work computer, which is a PC running Window

  • How to add new fields in SAP-Query

    Hi, Can any body tell how to add new fields to the existing query. Thanks a lot, Bhaskar.

  • DNG Profile Editor (& new camera profiles)

    Anybody who thinks Camera Raw can't pretty much nail the colors of the camera makers colors should check out http://labs.adobe.com/wiki/index.php/DNG_Profiles You'll need Camera Raw 4.5 or Lightroom 2.0 to use the profiles...

  • Change prompts

    Hi, Is it possible to change the prompts before scheduling a Desktop Intelligence document using the java API. Regards, Nic

  • After effects only using 6% ram

    Installed RAM: 23.99 GB Current RAM Usage: 2.37 GB Allowed RAM Usage: 19.99 GB Process ID Application Name Min Needed Memory Max Usable Memory Max Allowed Memory Current Memory Current Priority 3524 aeselflink 3.00 3.00 3.00 0.23 3752 After Effects 0