Petals-SE-Activity 1.0.0-SNAPSHOT

Features

The XSLT Service-Engine allows to transform Petals messages using XSL style sheets.

Each configuration of this component embeds an XSL style sheet.
When such a configuration (i.e. service, i.e. service-unit) is called, it transforms the received message into another one.
The XML payload of the input message is transformed using the XSL style sheet.
The resulting XML document is then returned in the response, either as the payload, or as an attachment.

This component only acts as service provider, not as a service consumer.
In fact, it provides a transformation service.

Additional information about XSLT can be found at http://www.w3.org/TR/xslt.

XSLT Component overview
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.