Workflow Manager Web Service Activity
With this activity, you can read external data in order to use it in your organization's workflows, e.g. if you want to automatically enter the invoice amount in the form in your account payable workflow.
Activity settings
Name
Enter a name for the Web Service activity here.
Address
Type in the Web Service URI here and click Find Methods. The methods are loaded.
Method
Select a service method from the drop-down menu.
Parameter
To specify the input parameters, click on Edit. This opens a new dialog with the available parameters.
Result
To specify the event parameters, click on Edit. This opens a new dialog with the available parameters.
Web Service demo example
From the DocuWare document pool you can download a Sample Web Service and publication instructions for this. The Web Service has the following methods:
- ReturnFiveDaysLater Input: Date variable Return: Date variable plus five days
- ReturnN0
- Input: Two numeric variables without decimal places
- Return: The numeric variables are added and the result is returned as a numeric value.
- ReturnN2
- Input: Two numeric variables with two decimal places
- Return: The numeric variables are added and the result is returned as a numeric value.
- ReverseString
- Input: A character string is reversed.
- Return: Reversed character string
- TimeoutString
- Input: A string variable
- Return: Nothing – the activity times out. These methods can be used to simulate an error in the Web Service.
Examples
- SOAP Sample ASP .Net Framework Web Service
- SOAP Sample ASP .Net Framework Web Service with BasicAuth