English 中文(简体)
Invoking an Asynchronous Web Service
  • 时间:2024-12-27

Invoking an Asynchronous Web Service


Previous Page Next Page  

As discussed before Asynchronous Web Service is one which sends a request to other web service and waits for the response.

In the screenshot shown below, we have created the Asynchronous BPEL Process which has a receive activity to accept the request from the user. The assign activity further assigns values to the different elements in the request.

Next, the invoke activity invokes the HelloWorld Apppcation which sends the response simultaneously and that is captured in receive activity.

Further, we have the callback activity which finally generates output and sends response asynchronously.

If you double-cpck the receiveInput or callbackCpent, you will see each of them has only one variable.

receiveInput → inputVariable
callbackCpent → outputVariable 

Invoking an Asynchronous Web Service Advertisements