Checking response in Asynchronous scenario

Hi, I want to check the response message in the scenario that I implemented asynchronous message.
Basically, in the trace I could only see this "Async processing: skip mapping of response".
Is there anyway to find out what the response is?
Thanks

Hi Rockie,
As Mario had said, its absolutly right of making no sense to look for response for Async Messages.
Enve though the Integration Engine contains the internal response for those Async Messages, you can;t use it.
The only thing that could be possible is to stick with acknowledgment.
Thanks
Swarup

Similar Messages

  • How to handle an asynchronized scenario?

    Hi, there:
    I had an asynchronized scenario in my web application. After client side collecting information and click "submit", my servlet in server side is supposed to wrap those information in a transaction and send it to 3rd party engine, however, the response of that transaction from the 3rd party engine is asynchronized (may take several minutes).
    Question:
    At client side, after user click "submit", what should I do?
    a. tell user transaction is submitted successfully, and ask him to check response later;
    b. display some information like "please wait, your transaction is processing ..........", and my servlet keeps polling response, and send html response back after get response from 3rd party?
    c. Or, servlet send response back immediately, however, somehow to get client side keeps sending request to servlet to check the status of transaction?
    Highly appreciated if any suggestion or comments.
    Thanks a lot in advance
    David

    You are waiting
    for card authorization back. How do they handle those
    scenario? like during waiting for response, the
    client navigate to other links, or even shut down the
    browser.You can't do anything about clients who don't wait for a response. You can't even find out that they didn't wait. If your response time is going to be fairly reasonable -- a few seconds, maybe up to 30 seconds -- then displaying scary warnings may persuade the client to wait. If your response time is going to be a minute or more, then you are just going to annoy people. One option in that case is to get the client's e-mail address. Then your servlet would just send a trivial response ("Thank you for your order, you will be notified when it is processed") and put the job in a queue to be handled off-line. Handling of the job would involve sending a confirmation e-mail.
    Or you could provide another page where the user can keep track of the progress of his request, which your off-line system is updating whenever it does something with it.
    Also, for those time consuming tasks in
    serverside, if hundreds of requests come at almost
    the same time, will it cause some problem in server
    side? like performance, resource issue?Sure it could. There are people who do nothing but tune Web servers for a living.

  • How to get Acknowledgement from legacy system in an Asynchronous scenario?

    Hello Experts,
    My current scenario is to send an invoice from ECC --> ABAP proxy --> PI --> webservice --> Legacy system & I need acknowledgement back to ECC system from legacy system. How SAP XI acknowledgements work in asynchronous scenarios?
    Please guide.
    Thanks & Regards,
    Nidhi Kukreja

    Hi nidhi,
    please check following link
    http://help.sap.com/saphelp_nw04/helpdata/EN/44/932e8896b610bbe10000000a422035/frameset.htm
    Also check this one.
    http://help.sap.com/saphelp_nw04/helpdata/EN/f4/8620c6b58c422c960c53f3ed71b432/frameset.htm
    hope this helps..
    - Deepak.

  • How can check XML in asynchronous

    Hi,
    I am new in XI.
    I need clarification on  below points. I saw lot of links but not cleared to me.
    1) I have IDOC - File asynchronous scenario, it is processed successfully in SXMB_MONI. How to check ouput generated XML file in PI.
    2) can we set alert on interface base?
    3) How to check that existing interface has alert setting ?
    Thanks.

    What is your PI version???
    I have IDOC - File asynchronous scenario, it is processed successfully in SXMB_MONI. How to check ouput generated XML file in PI.
    >>>> You can check the post mapping payload in adapter engine.  You can even adjust the parameter in sxmb_adm to see post mapping payload in sxmb_moni.
    Just open the corresponding message in AE and go to message content tab.
    under message part, you should be able to select the payload..
    2) can we set alert on interface base?
    >>>> Yes. You Can.
    3) How to check that existing interface has alert setting ?
    Go to runtime work bench -> Alert Configuration ->
    Here you can find all the existing rules. If you have configured interface specific rules then you can search for the particular interface.
    Sometimes all the parameters configured as "*" so that one Alert rule is enough to capture the alerts.

  • Synchronous transmission with 2 asynchronous scenario's.

    Hi All,
    I have 2 asynchronous scenario's transferring file from one ftp location to another and vice-versa.
    I want 2 start the second scenario only when the file sent by first scenario is successfully reached.
    I want to know how and where to put this condition that transfer this file only when a particular file is present in that folder??
    Regards,
    Amit Sharma.

    Hi,
    For this type of requirement you can do the following:
    1) Create an additional file in target directory with same name as the file is pasted in the target directory  but with different extension (example  .eod file ) whenever the original file is picked from first interface.
    2) Now for the second Interface to get executed check if ther is .eod file existing then pick the original file. (this can be done using additional file parameter option).
    Regards,
    Sainath Chutke

  • IDOC to SOAP asynchronous scenario Error handling

    Need an expert!!!!!!!!! advise on  error handling for IDOC--PI--
    SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
    Appreciate your help.
    Manish

    Hello Manish,
    My question is how i can do error handling in this scenario.
    Use the standard alert framework. Search on SDN / SAP Help for details.
    do i need to use BPM and if that is tthe case what will be steps.
    BPM is not required to raise alerts, as this is an async call.
    Regards,
    Neetesh

  • IS Mapping required in JDBC to PROXY asynchronous scenario?

    Hi,
    I am working on JDBC to PROXY asynchronous scenario. The scheduled stored procedure fetches the data from database tables and stores them in staging table in the same database. XI will fetch the records via JDBC adapter. Now these records are to be posted into SAP custom table via proxy without any transformation. Now is Message mapping and Interface mapping required in this case?

    Hi
    I assume that your source and traget structure will be different as you are using JDBC.
    SO you will need to create message mapping and operation mapping.
    -Deepak.

  • Acknowldegement in asynchronous scenario: is it sync or async

    Dear community,
    in an asynchronous scenario with a fault message type defined for the inbound interface, the handover of a message from XI to receiver consists of two steps:
    Step 1: XI will send a message to the receiver
    Step 2: The receiver will acknowledge positively or negatively.
    Will Step 1 and Step 2 be handeled synchronously or will it be handeled asynchronously for async scenarios ?
    The background of this question is resource-related. If the processing of a message is synchronous, processing of these two steps would block resources, which would be problematic for higher volumes.
    Logically it seems as if this would all be async but I could not find a detailled spec and I need to know for sure.
    Thanks a lot in advance !
    Jochen

    Hi Jochen,
    if you want to have the result of a message at the receiver you have 2 alternatives:
    Synchronous:
    +You get the errors at once
    +You know very soon, what happend
    -Bad performance, bcoz processing time may be for minutes stopped
    -no connection (receiver offline) leads to an error
    Asynchronous with acknowledgement:
    -You get only sometimes an error acknowledgement
    -The calling programm has no direct information
    +Much better performance
    +Queing mechanism allows automaticly and manually restart
    Usually you try to build, if possible, asynchronous scenarios. But it depends on requirements.
    Regards,
    Udo

  • R/3 to PI using RFC Sender Adaptor as Asynchronous scenario

    Hello Folks,
              RFC Adp.           SOAP Adp.
    ECC-->XI--
    >ARIBA
    I am new to PI and doing a scenario mention above. we are using RFC sender adaptor to send the data to XI in asynchronous process.
    I have config the Sender comm. channel as below.
    Appl.  Server(Gateway):  My Ecc Server host name
    Appl. Server Service (Gateway) : My Ecc server
    Program Id : XYZ.
    Note : while creating the the Service interface and Message mapping and Operation mapping I am using the RFCname.respone message type is that ok in asynchronous process?
    And then I went to ECC in Tcode SM59 and created a RFC destination of type TCP/IP
    and put the same information as given above and test the connection which is working fine.
    I have created a FM at ECC end make it remote enabled. and calling the FM in back ground task using destination in a Work flow code.
    When I run the Work flow code It ran successfully but i went to XI side there is no msg in the SXMB_MONI.
    Then i went to the component monitoring->Adatptor engine>Comm. channnel Monitoring and found that under my RFC sender comm. channel there is an error msg saying
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException: senderAgreement not found: lookup of binding via CPA-cache failed for AdapterType RFC, AdapterNS http://sap.com/xi/XI/System, direction INBOUND, fromParty '', fromService 'BS_ECC', toParty '', toService '', interface 'YFPS_MM_I_0242_PO_APPROVAL_OUT', NS 'urn:sap-com:document:sap:rfc:functions' for channel 'CC_0242_PO_Approval_RFC_Sender' (channelId 19585252a58335ee871e4c3a771b027f)
    Where as i have checked that in the sxi_cache t-code there is a sender agreement for my scenario under the sender agreement tab.
    Please Help me in this to resolve the above error. I am totally stuck at this point.I would really appreciate a quick answer.

    Appl. Server Service (Gateway) : My Ecc server
    Confused with this statement.....
    it should have the format sapgwXX ....
    XX is the system number which comes from the j2ee port mentioned in the XI homepage URL
    http://<hostName>:5XX00:rep/start/index.jsp
    How to configure sender RFC adapter...check this blog:
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/1438
    Error in processing caused by: com.sap.aii.adapter.rfc.afcommunication.RfcAFWException:
    senderAgreement not found:
    Sender Agreement is Expected in this communication which does not seem to be present in ID....create sender agreement using the RFC communication channel....
    Regards,
    Abhishek.
    Edited by: abhishek salvi on May 2, 2009 1:24 AM

  • Webservice response in BPM scenario

    I am doing a BPM scenario where I take data from ERP asynchronously using proxy and send it as a request to a third party synchronous webservice. The webservice gives a response and I am using the response to send it further along to other systems.
    Everything works fine if correct messages are sent and received. The problem starts when PI/BPM receives an un-expected response from the webservice. If the webservice sends an unknown error message in the response, the mapping fails and goes into the error queue. (smq2)
    And the real problem is every successful message or response after that also goes into the same queue and getting stuck. Why is this happenning? Do we need to monitor and clear the error queues all the time so that subsequent successful messages go through BPM corrrectly?
    Do you guys think it is a cache problem or something else?
    Thank you.

    this is because there is no proper error handling in your BPM.
    you need to handle the exceptions in case of mapping or communication failures.
    refer : http://help.sap.com/saphelp_nw04/helpdata/en/33/4a773f12f14a18e10000000a114084/frameset.htm

  • BPM: Wait for response in asynch scenario

    Hi,
    I have implemented a BPM which is working (but not as it should). The scenario is R3 IDoc - XI - Legacy SOAP - XI - SAP, and the requirement from the legacy web service is that we cannot sent another Idoc to the web service until we get a response (ALEAUD) back. We also cannot use synchronous interfaces.
    I thought that the BPM would solve this, the BPM contains a receive IDoc step, send Idoc (SOAP), receive ALEAUD response (SOAP) and send ALEAUD (IDOC), all steps asynchronous. But if I send two IDocs from R/3 they get both get sent to web service, even though the second Idoc should wait for a the ALEAUD from the web service before being sent. It seems that XI just creates a new instance of the BPM and runs the second IDoc in this one.
    Is there a way to implement that when XI receives several IDocs from R/3, XI queues them up and sends them one by one and wait for a response before sending next one?
    I have implemented correlation to relate the response to the message sent out.
    Thanks a lot for your help!
    -Kenneth
    Message was edited by: Kenneth Eriksen
    Message was edited by: Kenneth Eriksen

    Yes, the response references the Idoc number of the request.
    I actually tried this, but it didn't work the way I expected it. It seems that XI just creates a new instance of the BPM for the next IDoc it receives from R/3, so there are in fact several instances of the BPM running at the same time.
    I tried with a fork, where branch 1 is a loop that is always true (1=1) and branch2 has a receive step with the local correlation. The fork should stop if two branches are true. This did not work as I hoped.
    Right now I am trying a fork with two branches, branch1 includes a loop, inside loop I have a switch which invokes a send step if a simple type flag is on and a cont operation which turns the flag off, otherwise it waits for a minute. Branch2 of the fork has a receive step waiting for the response, with local correlation, and a cont operation which turns the flag on.
    Will this work? I am not sure if this simple type flag is global, that is if it works for all instances of this BPM or just the one BPM it resides in.
    Is there some way of forcing XI to not create new instances of a BPM, but rather have all messages go the same instance? this would solve  my issue as I see it.
    Thanks!

  • Message doesnot return back in sequantial asynchronous scenario

    I have an scenario like this,all of messages are executing asynchronously by calling from sproxy,
    Request
    clientZET029 --> NumberRangeRequest_Out   XI  NumberRangeRequest_In --> clientOER030
    Response
    clientOER030    --> NumberRangeConfirmation_Out  XI   clientZET029 NumberRangeConfirmation_In--> clientA
    when i try to carry out all scenario i get error "XI Error NO_RECEIVER_CASE_ASYNC.RCVR_DETERMINATION"
    I executing NumberRangeRequest_Out service from sproxy of ZET029 and expecting a return message from OER030 but it arrives to OER030 but not come back it gives error, and like you see , sender of all messages are ZET029 it is the problem i think
    here my sxmb_moni logs
    Processed successfully               ZET029     NumberRangeRequest_Out               NumberRangeRequest_Out               SENDER     PROXY     IENGINE
    Processed successfully               ZET029     NumberRangeRequest_Out          OER030     NumberRangeRequest_In               CENTRAL     IENGINE     IENGINE
    Processed successfully               ZET029                         OER030     NumberRangeRequest_In               RECEIVERIENGINE     PROXY
    System Error - Manual Restart Possible     ZET029     NumberRangeConfirmation_Out                                   CENTRAL     IENGINE     
    Processed successfully@               ZET029     NumberRangeConfirmation_Out          NumberRangeConfirmation_Out          SENDER     PROXY     IENGINE
    Thanks

    I can't understand in asynch how response will come back to sender?

  • Purchase Order Response in Classic Scenario

    Hi Experts,
    Implementation Scenario- CLASSIC
    SRM Server - 5.0
    Question-
    1) Within Classic Scenario, is it possible for to create Purchase Order Response in SRM for a PO which is already created in backend? This PO is generated by a shopping cart in SRM.
    Best Regards,
    Amit

    Hi Amit,
    You can create POR for a PO which is already created in backend, no matter if its created with reference to SC in SRM. This POR would be done by the supplier in SUS scenario.
    It possible in both, classic and ECS scenario's.
    Regards,
    Prashant

  • Asynchronous scenario, JDBC and proper error handlig - proces design?

    Hi All
    I've succesfully created async scenario, generally consisted of:
    SOAP -> IP (ccBPM) -> JDBC
    Everything works fine except one aspect  - whenever there is error in JDBC adapter, nothing happens. Just server logs notify about exception, but whole process in SXMB_MONI looks fine.
    What is correct approach for such scenario? Best thing (I suppose) would be possibility to resend message in case of receiver error. Later on this scenario will contain many receivers (different adapters maybe - some of them JDBC), so best option would be resending only failed branches of process. But those are only my wishful thoughts
    What would you suggest in such case?
    Best regards
    TIA
    Maciej Gottfried

    you can opt to automatically reprocess the message;
    1. /people/sap.india5/blog/2006/01/03/xi-asynchronous-message-processing-understanding-xi-queues-part-i
    2. in the adapter level modify the retries - /people/shabarish.vijayakumar/blog/2010/03/31/did-you-know--delivery-attempts-customizable-per-communication-channel

  • "500 Internal Server Error" response from asynchronous AquaLogic proxy

    Hi,
    We have a proxy service deployed to AquaLogic Service Bus (alsb) v3.0 as a WSDL-based SOAP/HTTP service. The WSDL for the proxy defines a single one-way operation (i.e. no response message is defined), making it an asynchronous operation. The proxy routes the request through a couple business services and then routes the response to a URL specified in the request (in the ReplyTo element of a WS-Addressing header). Essentially it's an asynchronous request-response pattern that accepts requests from a web service and calls back to that web service with the response.
    This proxy service works perfectly when run from the test page in the ALSB console. However, when calling the proxy from the real client web service, AquaLogic returns a "500" response from the HTTP POST. The WSDL and everything look correct, and we can use the proxy's URL to download the WSDL with no problem.
    Is this a known problem?
    Thanks!
    -Eric

    HI,
    I am looking for a solution to the problem (i am using Oracle service Bus_10.3).
    After publishing, I can get the wsdl from the web browser but calling the proxy service directly results:
    com.bea.control.ServiceControlException: Unexpected exception raised invoking getTerminalDistance on control com.demo.control.TerminalLocationServiceControl. Use getCause() to see the root cause.[java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [BEA-380001: Internal Server Error] FaultActor [null] Detail [<detail><con:fault xmlns:con="http://www.bea.com/wli/sb/context"><con:errorCode>BEA-380001</con:errorCode><con:reason>Internal Server Error</con:reason><con:location><con:node>RouteNode3</con:node><con:path>response-pipeline</con:path></con:location></con:fault></detail>]; nested exception is:
         weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: BEA-380001: Internal Server Error]
         at com.bea.control.servicecontrol.impl.ServiceControlImpl.invoke(ServiceControlImpl.java:696)
         at com.demo.control.TerminalLocationServiceControlBean.getTerminalDistance(TerminalLocationServiceControlBean.java:132)
         at com.demo.control.TerminalLocationImpl.getTerminalDistance(TerminalLocationImpl.java:51)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         at weblogic.wsee.component.pojo.JavaClassComponent.invoke(JavaClassComponent.java:112)
         at weblogic.wsee.ws.dispatch.server.ComponentHandler.handleRequest(ComponentHandler.java:84)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
         at weblogic.wsee.ws.dispatch.server.ServerDispatcher.dispatch(ServerDispatcher.java:114)
         at weblogic.wsee.ws.WsSkel.invoke(WsSkel.java:80)
         at weblogic.wsee.server.servlet.SoapProcessor.handlePost(SoapProcessor.java:66)
         at weblogic.wsee.server.servlet.SoapProcessor.process(SoapProcessor.java:44)
         at weblogic.wsee.server.servlet.BaseWSServlet$AuthorizedInvoke.run(BaseWSServlet.java:285)
         at weblogic.wsee.server.servlet.BaseWSServlet.service(BaseWSServlet.java:169)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:820)
         at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
         at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:292)
         at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:175)
         at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3504)
         at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
         at weblogic.security.service.SecurityManager.runAs(Unknown Source)
         at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2186)
         at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2092)
         at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1406)
         at weblogic.work.ExecuteThread.execute(ExecuteThread.java:201)
         at weblogic.work.ExecuteThread.run(ExecuteThread.java:173)
    Caused by: java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [BEA-380001: Internal Server Error] FaultActor [null] Detail [<detail><con:fault xmlns:con="http://www.bea.com/wli/sb/context"><con:errorCode>BEA-380001</con:errorCode><con:reason>Internal Server Error</con:reason><con:location><con:node>RouteNode3</con:node><con:path>response-pipeline</con:path></con:location></con:fault></detail>]; nested exception is:
         weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: BEA-380001: Internal Server Error
         at weblogic.wsee.jaxrpc.StubImpl.throwRemoteException(StubImpl.java:296)
    I have implemented one testservice and trying to invoke Aqualogic proxy using service control generated through weblogic workshop and getting above error. but if I use test console of Service bus to test this proxy, it runs fine. Also I have configured proxy service message flow where i am using "Replace" action to replce the header from the incoming reuest with the following as my business service expects this security token:
    <soap:Header xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
    <wsse:Security xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd" soap:mustUnderstand="1">
    <wsse:UsernameToken xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" wsu:Id="UsernameToken-24512621">
    <wsse:Username>sample:parlayx</wsse:Username>
    <wsse:Password Type="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-username-token-profile-1.0#PasswordText">1234</wsse:Password>
    </wsse:UsernameToken>
    </wsse:Security>
    </soap:Header>
    please Please share any additional configuration/settings needed.
    thanks
    Narendra

Maybe you are looking for

  • Jdbc adapter error on confirmation message in message monitor (rwb)

    I have the scenario iDoc -> PI 7 - > jdbc (AS400 odbc driver). When I do INSERT statements, the data is stored in the Database and the RWB message monitoring shows status Successfull. However, for every insert, an other message shows up in the messag

  • Drop-Down Warning

    I am attempting to create a drop-down of Texas Counties.  There are 254 of them.  When I created a drop-down object and attempt to add a number of entries above a certain amount the drop-down object is tagged with a yellow box containing "ABC!" and a

  • Virtual host in weblogic 5.1

    Hi all How do i set up a virutal hosting feature in weblogic 5.1? For eg., Current url = http://[email protected]:1234/myapplication Alias Request = http://<anything.com>/support/check/myapplication please help. It's urgent. with regds siva

  • Data Modeling as a component of Business Modeling , and it also involves

    Data Modeling as a component of Business Modeling , and it also involves the modeling of a.     Data Flow b.     Hardware & Software c.     Resources d.     Process chains

  • Original posting date after releasing in ea05

    Hello all, When you release an outsorted print document in Transaction EA05, a dialog box appears in which you enter the posting parameters that are required for the release process. the number of the original print document, posting date, and docume