Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Workflows in the SOAP calls

The following picture represents how the SOAP calls can be implemented using workflow inProcess functionality:
Image Removed
The structure of the Request and response is presented in the image below.  Image Removed
Soap layer remains unchanged for all soap calls and each type of soap calls is associated with the correspondent inProcess workflow.

RequestDTO contains the hookpointKey which identifies the associated workflow and array of ValueDTO objects. Each ValueDTO object contains the KEY and VALUE. Depending on the subclass used, VALUE can be long, String, double, Data or array of ValueDTO objects.

Soap layer transforms the array of ValueDTO objects into the hash table of context objects with the correspondent keys, provided in the request and starts the workflow with the hookpointKey provided in the request.

After the workflow is executed, hash table with the result objects is passed back to the SOAP layer, which performs the transformation of the result hash table to ResponseDTO object, which is returned as result of the SOAP call.

Requirements for the workflow:

...