Joget Workflow v6 RC Released
Check out the latest Joget Workflow v6 RC for many new features and improvements in user experience (UX), app maintainability and performance.
The SOAP Tool allows one to invoke call to webservice for integration purpose to return useful information from external sources into the process instance.
Figure 1: SOAP Tool Properties
|WSDL URL||Webservice WSDL URL to be called.|
|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 is required when SOAP Body is used and SOAP version is 1.1
Figure 2: SOAP Tool Properties - Store to Form
|Form||Target form to store data.|
|Base XML Object Name for Multirow Data||If returned data is intended to an array / multirow data, define the path to the array.|
Figure 3: SOAP Tool Properties - Store to Workflow Variable
|Workflow Variable Mapping|
Figure 4: SOAP Tool Properties - Advanced
|Debug Mode||When checked, debug messages will be printed out in the server log for troubleshooting purpose.|
Enable the Debug Mode to for troubleshooting purpose. In the server's console, one will see the returned formatted data as the following.
Below is a sample app to make a webservice call to http://www.webservicex.net/airport.asmx?op=GetAirportInformationByCountry.
The sample app below contains a SOAP call to the operation name GetStockQuote from http://www.restfulwebservices.net/wcf/StockQuoteService.svc?wsdl.
When Debug Mode is enabled, the output will be similar to the following: