O'Reilly logo

Oracle SOA Suite 11g R1 Developer's Guide by Antony Reynolds, Matt Wright

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Updating a task instance

Our second category of task-based Business Service is one that allows the buyer or seller to perform actions against the workflow task. For the purpose of this section, we will look at the implementation of the setShippingDetails operation, though the other operations submitInvoice, notifyPaymentMade, confirmPaymentReceived, notifyItemShipped, and confirmItemReceived all follow the same basic pattern.

setShippingDetails is used to complete the first step in the workflow, namely, updating the task payload to contain the shipping name and address of the buyer as well as providing any additional shipping instructions. Finally, it needs to set the outcome of the current step to COMPLETED so that the task moves on to the next ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required