Time for action – adding onEvent to the callback interface
To add the onEvent
operation to the callback WSDL interface, we will proceed as follows:
- Open the
BookWarehousingBPEL.wsdl
interface. - Scroll down to the declaration of the
BookWarehousingBPELCallback
port type. We can see that the port type specifies a singleonResult
operation: - We will add another operation,
onEvent
, which we will use to signal that an event has happened on the BPEL process. In our example, we will use the same input message as in theonResult
operation. Let's add theonEvent
operation declaration:
What just happened?
We have added an onEvent
operation declaration to the WSDL ...
Get WS-BPEL 2.0 Beginner's Guide now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.