Synchronous mediator collate response

Hi,
I am using SOA 11.1.1.5
I have a mediator which offers a synchronous service as an interface and invokes a number of synchronous services.
I need it to collate the responses from the services and return the collated message as it's own response.
Is it possible for a mediator to do this?
Thanks
Robert

Using mediator u can validate,transform and route the data within composite and this has some more features like Resequencing,dynmic routing...Orchestration can not be acheived ..Go for BPEL

Similar Messages

  • Initiate Correlation on synchronous partner link response message

    Hi,
    I've been trying for a while to achieve correlation based on the response of a synchronous response in BPEL.
    For example:
    I have a process and at some point I invoke an external service. This service returns to BPEL process an id which must be used as a correlation id.
    I have tried setting the pattern to "response" (or "in" in other JDev versions). When BPEL process runs and reaches the invoke point it will completely disregard the pattern that I have set and will try to initiate the correlation set's property using the request message and not the response.
    I have used correlation with initialization in request messages with success.
    However it seems to me that I'm missing something in this case. Documentation is quite clear that this should function without additional configuration.
    Can someone help out in this?

    Sorry if I was not clear. My problem is with correlation based on client generated correlation id.
    I have a process.
    At some point I invoke an external systemB (invocationA).
    System B will return an id (b_Id) synchrnously in the response of invocationA.
    InvocationA closes but triggers processing in system B.
    When processing is over at some time in the future, systemB needs to call back and give me the response.
    To correlate this response, b_Id must be used.
    So I have created a correlationSet in invocationA (initiate="yes", pattern="response") and a property (testprop). In testprop I have created two aliases. One on invocationA response and one on the message received in the receive activity. Receive activity (initiate="no")
    When I run my example a correlation violation is thrown saying that bpel cannot find the property alias given in invocationA input message.
    Which means that even if i have set the pattern to "response" the engine still looks in the request message of invocationA.
    Of course I have tried all other patterns (to make sure that it is not my misunderstanding) on invocationA.
    When I set pattern to request and change the alias to read the request message of invocationA everything works as expected.
    Thanks in advance!

  • Oralce apps urgent help req.

    oracle apps using forms is it possible refresh,clear form or exit from one form to another form.
    becoz i am using 2 forms called Form A and Form B. Form A is main form and calling Form B.
    If i change parameters in Form A, i want to display in Form B also.. but Form B contains only
    prev parameters.
    How can i refresh Form B with latest parameters while i pass parameters dynamically from Form A.
    otherwise, can i use do_key('exit_form') from FORM A ? i want to close FORM B from FORM A.

    Hi had a simular question
    synchronous mediator collate response
    Responses suggested that this was not possible in mediator and needed to be done in BPEL
    Robert

  • Urgent help in web services

    Please go to this thread:-
    [http://forum.java.sun.com/thread.jspa?threadID=5281009&tstart=0|http://forum.java.sun.com/thread.jspa?threadID=5281009&tstart=0]
    This is posted in web services forum. but till now i didnt get any replies from anyone. If anyone can give a valuable point on this that will be of great help. Any clarifications you need, please ask me.
    Looking forward to your help,
    Geet.

    Hi had a simular question
    synchronous mediator collate response
    Responses suggested that this was not possible in mediator and needed to be done in BPEL
    Robert

  • Error At BPM at Synchronous Response

    Hi to every one,
    I am working in a scinario where a IDOC is received in the XI, then i need to map it with an RFC which is synchronous and the response what i am getting form it i need to call another RFC call in another Business System and the Responses of both this RFC's i need to Create a IDOC..
    I am have Designed and Configured and when i have started monitoring my XML messages i can see the Idoc is coming in to the XI and its is requesting the Response form the RFC...the mapping is completed fine in the Graphical View but the response is not coming back
    and i am using the RFC and IDOC though Usage Dependencies
    Is this makes any problem?
    Thanks in advance
    Amaresh

    Hope you have configured RFC as a Synchronous communication.
    Also did you check is the RFC is updated and giving the Response back to XI  check this in R./3 . also check tRFC communication in transaction SM58 in R/3.
    Assuming you have Req and Resp(Import and Export parameters) structure in RFC . Also check the RFC progam etc.
    Regards,
    Moorthy

  • How can an OSB response be synchronized?

    Hello experts,
    I have a problem with synchronizing an OSB response.The scenario is as follows: I make a request to OSB which in turn, after processing the request replies with an answer.But the problem is what happens if the same scenario is executed by multiple users, in the way that i cannot match the responses with the requests.
    Can a request be matched in some way with it's response in multiple user(multithreaded) environment?
    What needs to be synchronized there?
    I user 11g R2.
    Thanks in advance and best regards!
    Carol

    Hi Carol,
    You may be looking for something like this...
    http://docs.oracle.com/cd/E23943_01/dev.1111/e15866/jms.htm#OSBDV1051
    Cheers,
    Vlad

  • Correlation in mediator

    HI All,
    I have a Synchronous mediator component calling asynchronous BPEL Service component.
    Can anyone let me know how the mediator performs correlation of BPEL Callback responses?
    Thanks

    If you are thinking about correlation sets then I would say that it is BPEL specification feature and available only in BPEL. Mediator does implicit correlation for async request/callback scenarios.
    It would be helpful if you can explain the usecase you are trying to achieve.
    regards,
    Sandeep

  • Sync Mediator calling Async BPEL

    Hi,
    I have an Synchronous mediator which will invoke an Async BPEL. Aync BPEL will do some processing and need to send the response back to the mediator which is not happening.
    Any ideas on how to get the response from the Async BPEL pass on to the Sync Mediator which is calling the Async BPEL.

    Its async. It would not synchronize with a response. it doesnt matter if you link sync to async. In case, if you really want a response , please change your async to sync.

  • Synchronous AS2 - MDN communication

    Hello,
    in our AS2 scenario (SAP Proxy Sender --> BPM --> AS2 Receiver) we request the MDN synchronously for error handling purposes, associating the message directly to the sender message and direct update of the sender system.
    However problem is that obviously only asynchronous interfaces can be used to communicate with the AS2 adapter. So even though the MDN is requested synchronously (as http response) I cannot use a synchronous interface.
    Has anyone of you used such a synchronous scenario? How did you overcome the problem that a synchronous interface obvisouly cannot be used?
    Thank you for your update!

    hello all,
    Now i am facing the below error:
    Message processing failed. Cause: javax.resource.ResourceException: Fatal exception: javax.resource.ResourceException: SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. MDN requested, but AS2 Inbound Relation is missing. Missing inbound relation between AS2From: 'XXXX' and AS2To: 'YYYYY'., SEEBURGER AS2: AS2 Adapter failure # Outbound configuration error: Failed to get configuration from DATABASE. MDN requested, but AS2 Inbound Relation is missing. Missing inbound relation between AS2From: 'XXXXX' and AS2To: 'YYYYY'.
    Eventhough i have maintained proper relation between Sender and recevier external party AS2ID.
    Could you please help on this.

  • Is it possible to send a response from BAPI into another BS than Sending BS

    Hi guys,
    I have the following scenario: SOAP->XI->SAP and I'd like to get the BAPI response and send it via XI into the JDBC adapter. So, it should be something like synchronous call. Do you think, this is possible?
    Thanx 4 your answers, Peter

    Thanx guys!
    Shravan, I have a question: I can understand it until the point of sending transformed message to JDBC.. How would you ensure this?
    I would design the BPM process with folloeing steps:
    1, receive SOAP - start process
    2, send transforemd message for bapi call - synchronous
    3, receive response...
    where would you place transformation for JDBC and send step for sending it into JDBC adapter?
    Peter

  • Send Synchronous step in BPM - showing application error in sxmb_moni

    Hi
       We have a cc bpm in which we have a send - syncrhonous step - a call to an external webservice and synchronously getting a response back.
    Now, owing to a application condition when invoking the  webservice , the response received after being mapped back into the BPM, the status is set is being set to application error ( without a restart ) in sxmb_moni and the bpm gets  a response in the fault structure from the webservice
    My understanding is that the web service implementation sets this application error status after sending the appropriate response in the fault structure  . We want the cc BPM to continue to the next step - which is - taking this response in the fault structure from this webservice and communicating it out - in another send step.
    But owing to the application error in the synchronous send step , the BPM instance stops right there without proceeding to the next send step - after this ?
    How do we make the cc BPM not stop after getting the fault response and the application error ?

    Insert an Exception Branch by rightclicking on the block and choose insert.
    In the send step under Exceptions you can point to the created exception branch.
    In the exception branch you can now handle what to do when it fails.
    Edited by: Christian Vilhelm Henriksen on Mar 16, 2010 1:09 PM

  • ABAP Proxy response not showing data in SXMB_MONI

    hi all,
    We have a scenario of web service to abap proxy,synchronous.
    when the response comes back from ABAP,the xml in SXMB_MONI is not coming fully.Only the top level xml node and the Message type node are being dispalyed.the data nodes are not coming into xi.
    when the proxy is executed in R/3,the xml is generating correctly.but after coming into xi,only the top nodes are visible with no data.
    wht could be the reason?
    Regards,
    Anu.

    Hi,
    Also set the Parameters in SXMB_ADM to see the Sync Messages in MONI
    Configuration of a Central Integration Server
    REgards
    Seshagiri

  • Synchronous bpm scenario

    Hi All,
    I am doing scenario in which my sender ORION is webservice (It is synchronous to synchronous scenario)
    I have to use bpm for this,
    We are receiving webservice in XI and sending it to another PI system where i m doing soap look up (request,response mapping) and i m getting response in BPM and some transformation i have to do and send it back to the ORION.
    Can you poeple please suggest me steps how to execute in BPM,I have tried doing it as a asynchronous request from ORION and sending ASYNCHRONOUS response.
    Now requirement is changed they want us to do synchronously,
    Wht will be the BPM scenario of this?In BPM we cant have sync receive,We can open sync async bridge but that also we cant use in this case
    Please suggest me on this
    Thanks
    Best Regards,
    Harleen Kaur Chadha

    Hi,
    Yes you can do it in BPM. You need to do the following steps.
    Step 1.Receive step, receive request from ORION with mode as Open S/A bridge
    Step 2. Send Step, mode as Synchronous, synchronous send to PI and gets the response back from PI.
    Sep 3. Send Step, mode as Close S/A bridge , this will synchronously send the response back to ORION.
    In between you can have your transformation steps for any mappings.
    thanks
    amit
    reward point if answer is helpful

  • How to notify the exceptions in JMS sychronous request-response processing?

              Hi All,
              Pl. help me with ur expertise in the foll. scenario we are facing.
              Scenario:
              I have a requirement where I need to notify the exceptions to my client while
              the client request's are processed asynchronously and my client is waiting in
              synchronous for the response.
              The client is sending a message to one queue (QueueA) and waiting for response
              in another queue (QueueB). The message from "QueueA" is picked up by a MDB listening
              to "QueueA" and it throws an exception while processing some "business logic".
              In this case how do I notify to my client who is waiting in another queue. i.e.
              "QueueB" that there is an exception occurred while processing the business logic.
              I am using JMSCorrelationID to uniquely identify a response for a request sent
              by the client.
              What are the possible options to handle exceptions in JMS for an implementation
              like the one mentioned above.
              Any comments/feedback/pointers will be REALLY REALLY appreciated.
              Tks and regds
              C R Baradwaj
              

              Raghuram Bharadwaj C wrote:
              > Tom,
              >
              > Once again thanks a lot for your prompt response!
              >
              > Yes, A Knows how many downstream queues are involved.
              >
              > For unanticipated multiple responses
              >
              > If I do a select for update in all the MDB's listening to "QueueB/QueueC/QueueD",
              > only one response message will be sent to the "ResponseQ".
              Does this run the risk of serializing the database access? If
              B/C/D have no messages so that a new operation causes all
              three to fire at once, will they end up serializing on their
              respective selectForUpdate calls, losing parallelism?
              >
              > The response from all the datasource(s) are updated in the database by the MDB.
              > The MDB which updates the database last will consolidate all the response(s) and
              > send one final response to the "ResponseQ".
              >
              > This will be picked up the client who is waiting in the "ResponseQ". There wont
              > be multiple message(s) placed in the "ResponseQ".
              >
              > In this situation, How do I handle exceptions that occur in downstream MDB's?
              Use multiple responses. MDB's send error message on response.
              Or have failing MDB put an error message in the database table, so
              that the final responder can read the error message?
              >
              > Many Thanks in Advance,
              > C R Baradwaj
              >
              >
              >
              >
              >
              >
              >
              >
              >
              >
              > Tom Barnes <[email protected]> wrote:
              >
              >>
              >>Raghuram Bharadwaj C wrote:
              >>
              >>>Thanks tom for your support!
              >>>
              >>>Let me explain more about the problem.
              >>>
              >>>Scenario
              >>>========
              >>>Lets take a simplest case where the client is sending a message to
              >>
              >>"QueueA" and
              >>
              >>>he is now waiting for a response in the "ResponseQ"
              >>>
              >>>The MDB listening to "QueueA" wakes up and split the message(s) into
              >>
              >>three and
              >>
              >>>passing it to the next layer of datasource specific queue(s). The queue(s)
              >>
              >>are
              >>
              >>>"QueueB", "QueueC" and "QueueD".
              >>>
              >>>The MDB listening to the datasource specific queue(s) picks up the
              >>
              >>datasource
              >>
              >>>request sends it to the datasource and gets the response back from
              >>
              >>the datasource.
              >>
              >>>The MDB also updates a table in the database with the response. The
              >>
              >>MDB also check(s)
              >>
              >>>after updating the database to see all response(s) from all the datasource(s)
              >>>are reached. If yes, one of the MDB also sends a acknowledgement to
              >>
              >>the "ResponseQ".
              >>
              >>>
              >>>The client listening to the "ResponseQ" gets the acknowledgement and
              >>
              >>hit the database
              >>
              >>>to collect all the response(s) from all the datasource(s). These response(s)
              >>
              >>are
              >>
              >>>formatted and sent a response to the client. We have also created uniqueid
              >>
              >>for
              >>
              >>>identifying each request. This uniqueid is set in the JMSCorrelationID.
              >>
              >>The client
              >>
              >>>uses the uniqueid to collect all the response(s) for the request he
              >>
              >>had sent.
              >>
              >>>Problem
              >>>=======
              >>>If an error/exception occurred in a one of the MDB which is listening
              >>
              >>to QueueB/QueueC/QueueD.
              >>
              >>>How do we handle this?
              >>>
              >>>Please let me know all the possibilities that you would have done in
              >>
              >>this case.
              >>
              >>>
              >>Does A know how many downstream queues are involved? As part of its
              >>transaction it can send a message to the responseQ stating which
              >>queues to expect responses from. The client gets this message
              >>and knows that it must get responses from all of B, C, D, etc.
              >>before assuming success. On a failure, B, C, D, etc. can send
              >>an error message back to the response Q, or the client can
              >>simply timeout.
              >>
              >>This way there are no race conditions
              >>involving unanticipated multiple responses or missing
              >>responses, which I think the
              >>algorithm you mention above can create.
              >>Assuming just B and C (no D):
              >> B detects C is done by checking the DB
              >> C detects B is done by checking the DB **at the same time**
              >> Two response messages get sent
              >> - or -
              >> B finishes detects C not done, and sends no message.
              >> C finishes, B is finished but not reflected in DB yet, sends
              >> no message.
              >>
              >>NOTE: Be aware that when a transaction commits, different
              >>resources can response "faster" than others. The transaction
              >>monitor has no control over this. So, if as part of the
              >>same commit, a database insert and a queue insert is
              >>performed, it is possible for a consumer to receive the
              >>new message BEFORE the new database insert actually completes.
              >>
              >>
              >>>
              >>>Many Thanks in Advance,
              >>>
              >>>C R Baradwaj
              >>>
              >>>
              >>>
              >>>
              >>>
              >>>
              >>>
              >>>
              >>>Assuming that
              >>>
              >>>Tom Barnes <[email protected]> wrote:
              >>>
              >>>
              >>>>One approach is to send an "error" message to QB that uses
              >>>>the JMSCorrelationID the consumer is expecting. This will
              >>>>wake up the consumer, and the consumer can react to
              >>>>the error as needed.
              >>>>
              >>>>Another is to use two asynchronous listeners, one on the
              >>>>response queue, and one on a temporary (client created)
              >>>>queue. On error detection the MDB can send error messages
              >>>>to the temporary queue.
              >>>>
              >>>>You may want to skim the book "Professional JMS" - as I
              >>>>recall, it contains a section on queueing design patterns.
              >>>>
              >>>>Tom
              >>>>
              >>>>Raghuram Bharadwaj C wrote:
              >>>>
              >>>>
              >>>>
              >>>>>Hi All,
              >>>>>
              >>>>>Pl. help me with ur expertise in the foll. scenario we are facing.
              >>>>>
              >>>>>Scenario:
              >>>>>I have a requirement where I need to notify the exceptions to my client
              >>>>
              >>>>while
              >>>>
              >>>>
              >>>>>the client request's are processed asynchronously and my client is
              >>>>
              >>>>waiting in
              >>>>
              >>>>
              >>>>>synchronous for the response.
              >>>>>
              >>>>>The client is sending a message to one queue (QueueA) and waiting
              >>
              >>for
              >>
              >>>>response
              >>>>
              >>>>
              >>>>>in another queue (QueueB). The message from "QueueA" is picked up
              >>
              >>by
              >>
              >>>>a MDB listening
              >>>>
              >>>>
              >>>>>to "QueueA" and it throws an exception while processing some "business
              >>>>
              >>>>logic".
              >>>>
              >>>>
              >>>>>In this case how do I notify to my client who is waiting in another
              >>>>
              >>>>queue. i.e.
              >>>>
              >>>>
              >>>>>"QueueB" that there is an exception occurred while processing the
              >>
              >>business
              >>
              >>>>logic.
              >>>>
              >>>>
              >>>>>I am using JMSCorrelationID to uniquely identify a response for a
              >>
              >>request
              >>
              >>>>sent
              >>>>
              >>>>
              >>>>>by the client.
              >>>>>
              >>>>>What are the possible options to handle exceptions in JMS for an implementation
              >>>>>like the one mentioned above.
              >>>>>
              >>>>>Any comments/feedback/pointers will be REALLY REALLY appreciated.
              >>>>>
              >>>>>Tks and regds
              >>>>>C R Baradwaj
              >>>>
              >
              

  • Regarding  inbound synchronous proxy

    Hii All,
    Can anyone help me regarding inbound synchronous proxy (request-response scenario)
    Regards,
    Raj

    Hi Raj,
    We declare flat structure like this : 
    wa_input like input-mt_get_notification-message_payload.
    To move the data from proxy to work area :
    move input-mt_get_notification-message_payload to wa_input.
    Now ucan do your desired operation in a method passing it the input and receiveing the output from the method.
    call method me->get_task_det_for_notif_no
            exporting
              p_input         =  wa_input
           importing
              p_output        =
             output-mt_notification_response-message_payload-sapresponse
    Hope this will help.
    Still you face any issue , please feel free to ask.
    Regards ,
    Vivek
    Reward if Useful

Maybe you are looking for

  • Purchase price variance based on Receiving QUALITY

    Problem Statement: The client have a requirement that when he places an Order to the vendor for a certain commodity, he agrees to a certain level of Quality Parameters and an agreed Rate based on these parameters. Example: $100/Kgs on a condition tha

  • APPS Schema name hardcoded in Oracle Applications Adapter Wizard

    Hi, I am current evaluating the use of Oracle BPEL using the OA Adapter. Problem is that the APPS schema is called something other that APPS, say APPS1. When creating a partner link using the OA Adapter wizard, the Wizard is look for the object under

  • Parsing PDF for transfer to Access db?

    We have a project to do the following: 1. Manually read a PDF document; 2. For each 1:m paragraphs, determine the type of content (e.g. Operational, Support, Organizational) and apply a custom stamp at the head of each set of paragraphs; 3. When the

  • Does the noise come from harddisk or fan?

    Hi all, My powerbook 17'' always has this noise come from left side of the powerbook. I am unable to determine the source of the noise coz I am not sure where is the exact location of the noise. (I read that the fan supposed to be in left side of key

  • Mac does not recognise my admin password when I try to install updates

    I have followed the forget password instructions by installing the Mac OS X install disc and restarting and holding down c key etc and when I put my password in it is still not recognised