Sync Async without BPM and JMS.

Hi Guys,
Searched SDN a lot but in vain...
i have soap(Sync) to File(Async) synario...Soap response can have like this "PI system received message"..
How can i, with out BPM?
Thanks
Prabhakar

i have soap(Sync) to File(Async) synario...Soap response can have like this "PI system received message"..
If the SOAP is mandatorily working in SYNC mode then the above solution wont work (SOAP --> XI --> SOAP)....this will be treated as two different calls for the SOAP and the solution would have worked for ASYNC flow.
Why do you need PI system received message .... if i send a SOAP message and if it is successfully send from the SOAP application then I would get a 200 OK message which would indicate that everything was fine till sending the message to the XI/ PI system.
If SYNC communication is needed then implement a BPM with a SYNC-ASYNC bridge.
Regards,
Abhishek.

Similar Messages

  • Sync/Async without BPM

    Hello Experts,
    Can you please post your experiences on this issue.
    I am working on this SYNC/ASYNC scenario.
    REQUEST
    ABAP Proxy -> PI -> JMS receiver adatper -> IBM MQ
    RESPONSE
    IBM MQ --> JMS Sender adapter -> JMS receiver adapter
    Here it is going into a loop. The JMS sender adapter sends response back to the JMS receiver, but the JMS receiver thinks it is from the source sender SAP and sends it back toe IBM MQ, and this goes into a loop. Meaning, MQ receives this as a new request and proceses it and sends back a new response going into a loop.
    The reponse is sent back to the receiver, which is waiting. How does the JMS receiver know the message is a response not from Request. Please post your experiences.
    I need to know based on help.sap.com-http://help.sap.com/saphelp_nw04/helpdata/en/45/20d2b4c20a0732e10000000a155369/content.htm, the correct Receiver Agreements, and Receiver determinations for this scenario.
    Thanks for your answers.
    -praveen

    Hi Praveen,
    This looks straightforward if you are using the sync-async bridge modules.
    Sync/Async Bridge in the Receiver JMS Adapter
    http://help.sap.com/saphelp_tm70/helpdata/en/45/20d2b4c20a0732e10000000a155369/frameset.htm
    Sync/Async communication in JMS adapter without BPM
    /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    Basically, in one configuration, you use RequestOnewayBean to send a request to your JMS receiver and then wait for a response at WaitResponeBean. In another configuration, where you are sending back a response, you use NotifyResponeBean to send this response back to the waiting call.
    Regards, Yza

  • Sync-Async without BPM- error(XIServer:TOO_MANY_RECEIVERS_CASE_BE)

    Hi all
    This is without BPM scenario.
    I am doing a SOAP - XI - RFC - XI - SOAP scenario(this is a sync call)......also at the same time i am writing a file onto a directory in async mode.
    What exactly i want is ...when i receive file from SOAP...i want to call RFC using an interface mapping in a sync  mode....also the SOAP request i have received...i want to write it as a backup file onto a directory....using FILE receiver adapter in Async mode.
    So basically wheen i configure it in a receiver determination.... i have two receiver 1. RFC 2. FILE and two interface determination and recevier agreement respectively ....but i am facing a problem where when i run this scenario...it gives me following error:
    <context>XIAdapter</context>
                             <code>ADAPTER.JAVA_EXCEPTION</code>
                             <text><![CDATA[
    com.sap.aii.af.ra.ms.api.DeliveryException: XIServer:TOO_MANY_RECEIVERS_CASE_BE:
         at com.sap.aii.adapter.xi.ms.XIEventHandler.onTransmit(XIEventHandler.java:455)
         at com.sap.aii.af.ra.ms.impl.core.queue.consumer.CallConsumer.onMessage(CallConsumer.java:134)
         at com.sap.aii.af.ra.ms.impl.core.queue.Queue.run(Queue.java:917)
         at com.sap.aii.af.ra.ms.runtime.MSWorkWrapper.run(MSWorkWrapper.java:56)
         at com.sap.engine.core.thread.impl3.ActionObject.run(ActionObject.java:37)
         at java.security.AccessController.doPrivileged(AccessController.java:219)
         at com.sap.engine.core.thread.impl3.SingleThread.execute(SingleThread.java:104)
         at com.sap.engine.core.thread.impl3.SingleThread.run(SingleThread.java:176)
    Please help !

    have two receivers.
    one for the RFC and other one for the File.
    The have their respective interface determinations.
    Plus you need to have a BPM in this case

  • Async Sync Bridge without BPM (Proxy-Soap-Idoc)

    Hi,
    I have read some blogs how to do the Async Sync Bridge without BPM for JMS adapters. I have a requirement that I am getting a Async Proxy message to PI and then PI makes Sync Soap call then the result need to send through the Idoc adapter.
    Proxy - Soap- Idoc
    Here Proxy is a sender so no adapter required in the Config and also Soap is java based adapter and Idoc adapter is a ABAP based so I am not sure this is possible but I just wanted to check with you.
    Please let know if this is possible or not?
    PI 7.1 with EHP1
    Thanks,
    Laxman
    Edited by: Laxman  Molugu on Oct 14, 2010 2:15 PM

    The mapping programm can be defined as a user defined function. As sample of mine is "getGoogle()", which is doing some kind of address validation. The input parameter URL[0] contains source address. For that you need to import:
    org.apache.commons.logging.*;
    org.w3c.dom.*;
    javax.xml.parsers.*;
    org.xml.sax.SAXException;
    org.apache.commons.httpclient.*;
    org.apache.commons.httpclient.methods.*;
    org.apache.commons.codec.*;
    org.apache.log4j.*;
    Example code for UDF "getGoogle()" is:
    String sUrl = "http://maps.google.de/maps/api/geocode/xml?address=" + URL[0] + "&sensor=false";
    HttpClient client = new HttpClient();
    GetMethod method = new GetMethod(sUrl);
    byte[] responseBody = null;
        try {
    //      int statusCode = client.executeMethod(method);
    //      byte[] responseBody = method.getResponseBody();
    //     result.addValue(new String(responseBody));
    String sResponse = "initial";
    int statusCode = client.executeMethod(method);
    responseBody = method.getResponseBody();
    ByteArrayInputStream bis = new ByteArrayInputStream(responseBody);
    DocumentBuilderFactory factory = DocumentBuilderFactory.newInstance();
    DocumentBuilder db = factory.newDocumentBuilder();
    Document doc = db.parse(bis);
    doc.getDocumentElement().normalize();
    NodeList nodeLst = doc.getElementsByTagName("formatted_address");
    Node formAdr = nodeLst.item(0);
    NodeList nlFormAdr = formAdr.getChildNodes();
    sResponse = ((Node) nlFormAdr.item(0)).getNodeValue();
          // Deal with the response.
        result.addValue(sResponse);
        } catch (Exception e) {
          result.addValue(e.toString() + "######## exhrenda - googleResponse:############### URL=" + sUrl+"###########"+new String(responseBody));
        } finally {
          // Release the connection.
          method.releaseConnection();

  • Doubt on Aync-Sync Bridge without BPM

    I created a scenario using Aync-Sync Bridge without BPM:
    File(Asyn) => Rfc:BAPI_PO_CREATE1(Syn)
    1 which mode of message interface should be used in IR for File(Asyn)?
       Asyn or Syn?
    2 if syn MSG interface should be used in the above question,how can i return BAPI_PO_CREATE1.response which includes PO number to the sender?
    BTW:I had maintained the modules and their parameters(AF_Modules/RequestResponseBean and AF_Modules/ResponseOnewayBean)
    in RFC CC.
    Regards
    Ming

    Hi,
    1) You have to use synchronous interface.
    2) There will two message mappings(one request and one response) and one interface mapping between synchronous interface.
    3) All the corresponding modules should ve added in File sender communication channel not in RFC CC.
    Regards,
    Sudheer
    Message was edited by:
            Sudheer

  • Difference between SYNC/ASYNC, LGWR/ARCH, and AFFIRM/NOAFFIRM?

    Hi all ;
    I need some basic information about following things in data guard.(oracle 10g).
    difference between SYNC/ASYNC, LGWR/ARCH, and AFFIRM/NOAFFIRM?

    955912 wrote:
    Hi all ;
    I need some basic information about following things in data guard.(oracle 10g).
    difference between SYNC/ASYNC, LGWR/ARCH, and AFFIRM/NOAFFIRM?
    I believe information about the terms mentioned are well explained in the document link shared by Suntrupth so I won't explain all of them. But one thing that I believe is requiring a little clarity and that's the use of the term LGWR with the SYNCH and ASYNCH. The usual understanding is it's the LGWR that sends the message to the LNS which further would forward the change vectors to the standby site. But actually its always the LNS that reads the change vectors directly from the log buffer.That's the reason that 11g docs no longer mentions the keyword LGWR along with the SYNC and ASYNC.
    HTH
    Aman....

  • Async-Sync Bridge without BPM for SOAP WS and JDBC

    I heard you can now have async-sync communication outside of BPM by utilizing adapter modules?
    My scenarios are:
    proxy (async) -> SOAP WS (sync)
    proxy (async) -> JDBC (sync)
    I will like to capture the synchronous responses in XI and perform some basic error handling.
    I read h[File - RFC - File without a BPM - Possible from SP 19.|File - RFC - File without a BPM - Possible from SP 19.] and the release notes for 2004s SP19 and there is no reference to JDBC or SOAP.
    tia

    Hi Megha,
    Plz do refer the below links u will get an idea:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a05b2347-01e7-2910-ceac-c45577e574e0
    Sync/Async communication in Adapter without BPM (SP19)
    Sync/Async communication in JMS adapter without BPM (SP19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    Async/Sync Communication using JMS adapter without BPM (SP 19)
    also try this
    Sync/Async communication in JMS adapter without BPM (SP19)
    File - RFC - File without a BPM - Possible from SP 19.
    Collecting IDocs without using BPM
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    Have a look
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5059f110-0d01-0010-7c8b-fdc983be70c0
    HTTP to RFC - A Starter Kit
    Sync/Async communication in JMS adapter without BPM (SP19)
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken]
    Do refer this thread:
    JDBC Async-Sync bridge does not work
    Reward if found useful
    Regards,
    Vinod.

  • How to handle system exception in Sync communication without BPM? Help!

    Hi Experts
       I have a Synchronous scenario in XI: webservice <------>RFC SAP R/3.
      Webservice is making a sync call to RFC FM in SAP R/3 system.
       I want to handle system exception when SAP R/3 is down and send an email alert.    
       Can I achieve this in graphical mapping without BPM? How? Kindly provide necessary steps/screenshots for the same.
       Are there any other alternatives for handling system exception apart from mapping and BPM?  
    Thanks
    Gopal

    Hi GopalKirshna,
          Yes,You can handle the Exception if at all you are using the RFC.You can achieve this without using BPM.
       Using Fault message you can catch the System Exception and even the primary role for Fault Message is to catch the RFC Exceptions.
       Please refer the Fault messages Notes to achieve this you will understand better.
    Hope I am clear.
    Please let me if you have any more queries regarding this..!
    Thanks and Rewards,
    Chandu.

  • How to capture SOAPFault in an Async/Sync Scenario without BPM

    Hello friends,
    My scenario is ECC (async) to SOAP (sync) and back to ECC (async = ALEAUD). I'm using aync/sync bridge is receiver SOAP adapter.
    My scenario works fine with a normal response but when I get a SOAPFault as a response I get the following error in de receiver SOAP adapter:
    Message processing failed. Cause:
    com.sap.engine.interfaces.messaging.api.exception.ConfigException: No sender agreement configured that matches the message's header fields (sender party: "", sender service: "NONSAP", interface: "urn:test,  SII_Test_Sync", receiver party: "", receiver service: "BS_ECC")
    The configuration of my receiver SOAP adapter looks like this:
    Did I use parameters interfaceOnFault and interfaceNamespaceOnFault correctly?
    Your help is greatly appreciated,
    Kind regards,
    John

    Hi Nilesh,
    sorry for the delay. What I found every time i used the option "DO NOT use SOAP envelope is checked" is that the envelope is removed from request and response/fault messages as well. To solve those kind of errors I developed a module called ReplaceString. What this module does is to replace a string with another one passed as parameter. What do I archive with this? Well I sometimes use this module to include some parts in the xml message before it gets in PI. For example, lets say you receive something like this:
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    and you are expecting something like this:
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding">
    <FaultMessage>
    <standard>
         <faultText>
         <faultUrl>
         <faultDetail>
              <severity>High</severity>
              <text>This is an error</text>
              <url></url>
              <id></id>
         </faultDetail>
    </standard>
    </FaultMessage>
    </soap:Envelope>
    You could use this module to replace the following strings:
    <FaultMessage>
    by
    <soap:Envelope
    xmlns:soap="http://www.w3.org/2001/12/soap-envelope"
    soap:encodingStyle="http://www.w3.org/2001/12/soap-encoding"><FaultMessage>
    And
    </FaultMessage>
    by
    </FaultMessage></soap:Envelope>
    If you find it useful, I can paste the code of the module here.
    Regards!

  • Sync send in bpm and Exceptions raised

    Hi,
    I am using sync send step twice in ASYNC/SYNC bridge,once for database server and other one is for webserver.Wht kind of exceptions can occur for database connection failure and how i should catch in bpm.Please send me if any blogs are there.
    Thanks
    Best Regards,
    Harleen Kaur Chadha

    Generally Synch send is used to call your reciever system synchronously (ie You are sending request and response at the same instance).You have to create a synchronous abstract interface in Message Interfaces and select that interace in Synch send step. You have to provide Input and output parameters also......
    Check this for EX:
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

  • JDBC Sync - RFC Sync Scenario without BPM

    Hi Experts,
    I am using JDBC - RFC - JDBC Scnario. The concept is
    JDBC is reading data from tables and send data to RFC, after updating RFC is giving response to JDBC to update its tables.
    JDBC - RFC - JDBC.
    Is it possible to do this scnario without using BPM?
    Experts pls advise me.
    Regards
    Bala

    Hello Bala,
    These links are useful to you..
    JDBC Sender/Receiver adapter
    /people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/jdbcTOJDBC&
    http://help.sap.com/saphelp_nw04/helpdata/en/7e/5df96381ec72468a00815dd80f8b63/content.htm
    Thanks,
    Satya

  • Oracle BPM and JMS Queue: How to associate data from Map Messages to Process Data Objects?

    Good Day!
    I'm currently working on a project wherein it tries to get data from a JMSqueue Map Message being populated by CEP.
    After CEP pushes some data in the JMSqueue. I have BPM configured with a JMS adapter to look up whether there are any messages to be processed upon.
    Inside BPM, I want to know how can I correlate the data from the Map Message to my Process Data Object.
    For example, If I have a Map Object wherein it has 3 attributes:
    FirstName:String
    LastName:String
    Age:int
    What is the expression I need to use inside Oracle BPM Data Association screen in order to map the data from the Map Messages into my process data objects?
    Thanks!
    Regards,
    Jeff

    Any ideas? Thanks!

  • Sync-Async Integration

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

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

  • Correlation and Async/Sync Communication using JMS adapter without BPM

    Hello
    1. Pls explain with simple example docs/links --- Correlation
    2. Async/Sync Communication using JMS adapter without BPM
       If i see blog --- If I go with blog --- /people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
    Pls explain --- Correlation Settings, select JMSMessageID for the XI Conversation ID.
    Pls explain --  Correlation Settings, select XI Conversation ID as jMSCorrelationID.
    Can you pls explain me this example with JMSMessageID and JMSCorrelationID context
    Regards

    Hi Henry,
    For Correlation, please go through the below link.
    /people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi
    Sync / Async Bridge communication using JMS : http://help.sap.com/saphelp_nw04s/helpdata/en/45/20d251c20a0732e10000000a155369/frameset.htm
    Sync / Async communication without BPM in JMS : /people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
    /people/henrique.pinto/blog/2007/08/02/syncasync-scenarios-without-bpm
    Hope these help
    Regards
    Kiran..

  • Sync/Async JMS without BPM - No receiver specified in message object

    Hi All,
    My scenario is Proxy - JMS - Proxy.  I have chosen to do this without BPM and had followed closely to the instructions given in various help documents/blog/forum threads.  During testing, the proxy returns a system fault 'No receiver specified in message object'.  In RWB it indicates that the correlation is correct and the JMS Receiver adapter is getting the response, below is part of the audit log:
    2009-08-03 18:12:32 Information WRB: retrieving the message for de80831d-97f5-08f1-bdaf-00145e6883af ...
    2009-08-03 18:12:33 Information WRB: retrieved the message: ApplicationResponse
    2009-08-03 18:12:33 Information WRB: leaving WaitResponseBean
    2009-08-03 18:12:33 Information MP: leaving
    2009-08-03 18:12:33 Information The message was successfully delivered to the application using connection JMS_http://sap.com/xi/XI/System.
    2009-08-03 18:12:33 Information The message status was set to DLVD.
    When I check SXMB_MONI in XI-ABAP, I see 2 messages with status 'System Error - Restart not possible' and 1 with status 'Log Version'.  The message with status 'Log Version' is the respond.  The other 2 messages has the following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Request Message Mapping
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_RECEIVER</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>No receiver specified in message object</SAP:Stack>
      <SAP:Retry>N</SAP:Retry>
      </SAP:Error>
    It seem to me that the system does not know where to go/what to do next after returning to the JMS Receiver adapter.  I am at a lost what could have gone wrong.  Here is how I've done my configuration.
    Repository
    - Sync Sender Interface for R/3 Backend
    - Sync Receiver Interface for MQ
    - Async Sender Interface for the reply
    Directory
    - 1 CC for JMS Recevier
    - 1 CC for JMS Sender (for the respond)
    - 1 CC for Proxy Sender
    - 1 Interface Determination
    - 1 Receiver Determination
    - 1 Receiver Agreement for JMS Receiver
    - 1 Sender Agreement for the reply
    Any help is appreciated.  Thanks.

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

Maybe you are looking for

  • Pipelined function in reports6i....1

    Hi, i have a problem with using pipelined function in reports6i. can i use pipelined function in reports6i. The following code is used to return rows based on the parameter i am passing: my package declaration and body is as follows: PACKAGE P_RET_AR

  • Warning on Infotype 0105

    Hi I am trying to switch the warning off that appears on Infotype 0105. The warning comes up if you put the same phone number for two employees. I did change the time constraint to "3" but this does not switch the warning off. What else can i do to s

  • Align with component in another panel

    ok, I have two panels with a checkbox and a textfield in each. I want the respective checkboxes to be aligned and also the textfields with eachother. another question is if I can set the background of a JTextArea if it doesn't have a name, I've just

  • Rapid Non-Responding of Applications (Then Re-responding)

    Recently I was getting the " nvlddmkm stopped responding and has successfully recovered." error message frequently and went to attempt to fix it myself (probably not the best idea, however I am unable to send my computer in for repair while I am at c

  • What is the black text box that shows inthe upper right of my screen and how do i get rid of it permanently?

    what is the black text box that shows in the upper right of my screen and how do i get rid of it permanently? == every time i open a page