Petals-SE-Activiti 1.0.1+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (2)

View Page History
h1. Invoking Petals service providers from Activiti process

The Petals service providers can be invoked natively from Activiti process using a '{{ServiceTask}}' into your process definition through three steps:
# import the service contract of the Petals service provider into your service-unit project,
# define the Petals service provider address,
# create the associated service task.

h2. Import the service contract of the Petals service provider

The service contract of the Petals service provider (ie. its WSDL file) must be added to the service unit project. We recommend you to import the WSDL file in the same directory than the process definition file (ie. {{src/main/resources/jbi}}


h2. Creating the associated service task

Once a '{{ServiceTask}}' has been added to your process, you will configure it as following to invoke the right Petals service provider:
# First, import the Petals service provider contract into the Activiti process definition:
{code:xml}