How to call from a Service Callout to a business asynchronous project service bus Oracle

1

I am creating a service, in which I need to place a Service Callout in my Pipeline , as I should call a BusinessService where your wsdl has an asynchronous service structure, after this call, depending on the response you return, I must trigger another search in another BusinessService .

The problem is when I try to call this BusinessService , and it tells me that the structure that the wsdl gives it has no request and response. This is something obvious, because the fact that it is asynchronous, its structure is separated by two ports. A port of entry, and an exit port, and not a single port, the request and the response.

The question is How can I make a business rule in my pipeline by calling asynchronous services?

Call from Service Callout to BusinessService

BusinessService

WSDL

    
asked by José Miguel Sepulveda 21.12.2017 в 18:06
source

1 answer

0

What you need is to use a Publish and not a Callout :

Some characteristics of Publish:

  • It can be synchronous or asynchronous
  • If you call a Bussines Service configured with Quality of Service: Best Effort, then it will be an asynchronous call .
  • If you call a Bussines Service configured with Quality of Service: exactly once or at least once, OSB will wait until the processing in the Bussines Service is completed before continuing and in fact it is a call synchronous .
  • If you are calling a local proxy service, OSB will wait until processing is completed in the local proxy service and it is effectively a synchronous call.
  • Can be invoked from request and / or response Pipelines.
  • Ideal to use when you do not need to wait for a response from the process you are calling.
answered by 25.06.2018 / 17:51
source