|
Key
This line was removed.
This word was removed. This word was added.
This line was added.
|
Changes (9)
View Page History{column}
{column:width=340%}
{panel:title=Table of contents}{toc:outline=true}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list|showAnonymous=true|showCount=true|showLastTime=true}{panel}
{panel:title=Contributors}{contributors:order=name|mode=list|showAnonymous=true|showCount=true|showLastTime=true}{panel}
h2. Creating the service contract
The SE Activiti provides a service with several operation for a process definition. A WSDL is associated to this service. This WSDL can be written freely. The user can use its own namespace, its own names, ... It is only constraint by the following rules:
* the operations of the binding section *are annotated* to link them to the supported operations (create an instance of the process definition, complete the current task of the process instance, ...)
* the operations of the binding section *are annotated* to link them to the supported operations (create an instance of the process definition, complete the current task of the process instance, ...)
{color:red}*What about fault ?*{color}
h3. Operations
h4. Associating an operation to the creation of an process definition instance
h4. Create an instance of a process definition
The operation creating instances of process definition is identified by the value *{{createProcInstOp}}* set on the attribute {{activitiAction}}:
{code}
{code}
It is possible to map several operations of the WSDL to the creation of process instances, but this has perhaps no sens.
h4. Complete task of a process instance
h4. Associating an operation to the completion of a process instance task
The operation completing a task of a process instance is identified by the value *{{completeTaskOp}}* set on the attribute {{activitiAction}}:
{color:red}*Mapping des parametres à faire*{color}
h4. Retrieve process instances
h4. Associating an operation to retrieve process instances
The operation retrieving process instances is identified by the value *{{retrieveProcInst}}* set on the attribute {{activitiAction}}: