Introduction
The SOAP Tool allows one to invoke call to webservice for integration purpose to return useful information from external sources into the process instance.
SOAP Tool Properties
Configure SOAP Tool
| Name | Description | Screens (Click to view |
|---|---|---|
| WSDL URL | Webservice WSDL URL to be called. | Figure 1: SOAP Tool Properties |
| Operation Name | Operation Name | |
| Username | Credential - Username | |
| Password | Credential - Password | |
| Parameters | Values in sequence order of the operation parameters. | |
SOAP Body (XML) | The XML content of <soap:Body> tag. Parameters setting is ignored when SOAP Body is used. | |
SOAP Action | SOAP Action is required when SOAP Body is used and SOAP version is 1.1 |
Store To Form
| Name | Description | Screens (Click to view) | |||||
|---|---|---|---|---|---|---|---|
| Form | Target form to store data. | Figure 2: Store To Form Properties | |||||
| Base XML Object Name for Multirow Data | If returned data is intended to an array / multirow data, define the base path of the array. | ||||||
| Field Mapping |
|
Store To Workflow Variable
| Name | Description | Screens (Click to view) | ||||||
|---|---|---|---|---|---|---|---|---|
| Workflow Variable Mapping |
| Figure 3: Store To Workflow Variable Properties |
Advanced
| Name | Description | Screens (Click to view) |
|---|---|---|
| Debug Mode | When checked, debug messages will be printed out in the server log for troubleshooting purpose. In the server log, you will observe returned formatted data as the following: INFO 20 Feb 2020 02:14:56 org.joget.plugin.enterprise.SoapTool
- {"NumberToWordsResult":"six hundred and seventy eight "}
| Figure 4: Advanced Properties |
Sample App
Below is a sample app to make a webservice call to http://www.dataaccess.com/webservicesserver/numberconversion.wso?WSDL, to call the method NumberToWords.
APP_soap_sample-NumberToWords.jwa