Petals-SE-Activity 1.0.0-SNAPSHOT

The page Petals-SE-Activity does not exist.
Contributors
No contributors found for: authors on selected page(s)

Creating a service-unit for a process definition

Creating the service contract

The SE Activity provides a service with several operation for a process definition. A WSDL is associated to this service. This WSDL wan 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 port type 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 mandatory parameters of the operation are annotated to retrieve the right values.

Operations

Create an instance of a process definition

The operation creating an instance of the process definition is identified by the annotation: operation="createInstanceProcOp":

<wsdl:portType name="Order">
   <wsdl:operation name="newOrder">
      <psa:operation xmlns:psa="http://petals.ow2.org/se/activity/1.0">createInstanceProcOp</psa:operation>
      <wsdl:input message="NewOrderRequestMessage" />
      <wsdl:output message="NewOrderResponseMessage" />
   </wsdl:operation>
</wsdl:portType>
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.