Workflows in the SOAP calls
The following picture represents The below diagram illustrates how the SOAP calls can be implemented using workflow inProcess functionality:
The structure of the Request and response Response is presented in the image below.
Soap The SOAP layer remains unchanged for all soap SOAP calls, and each type of soap calls SOAP call is associated with the correspondent corresponding 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 an array of ValueDTO objects.
Soap The SOAP layer transforms the array of ValueDTO objects into the hash table of context objects with the correspondent corresponding keys , provided in the request and starts the workflow with the hookpointKey provided in the request.
After the workflow is executed, the 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 a result of the SOAP call.