Joget DX 8 Stable Released
The stable release for Joget DX 8 is now available, with a focus on UX and Governance.
The Enhanced SOAP Tool allows user to save the request and response payload of a call to webservice for integration purpose. This plugin is an enhanced version of the existing SOAP Tool.
Plugin Available in the Bundle:
This plugin bundle is compatible with Joget DX 7 and onwards.
To be able to save the request and response payload, which is an added feature to SOAP Tool.
Figure 1: Request and Response Payload Saved
1. Download the Demo App. Go to Joget Home or All Apps and click on Import App to import the downloaded demo app (refer to another KB - Import Joget App for more details).
2. Go to Search by SOAP Tool using Parameters. Enter "a" to the Name field for this demo.
Figure 2: Soap Tool using Parameters
3. You can see that the SOAP request has been made.
Figure 3: Soap Tool using Parameters - Showdata
4. Now to go Manage SOAP Req / Res. You can see that the request and response payload has been saved to another table.
Figure 4: Request and Response Payload Saved
5. The two figure below shows the table that the request and response payload has been saved to. You can refer to Enhanced SOAP Tool Properties for the configurations.
Figure 5: Request and Response Form
Figure 6: Process Builder - Soap Tool Configurations
The properties are mostly similar to SOAP Tool, the only added section is Store Request / Response.
Figure 7: Configure SOAP Properties
Name | Description |
---|---|
WSDL URL | Webservice WSDL URL to be called. |
Operation Name | Operation Name |
Username | Credential - Username |
Password | Credential - Password |
Use WS-Security | If checked, WSS authentication header will be sent with the Username and Password filled above. |
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 |
Figure 8: Store Request / Response
Name | Description |
---|---|
Form | The form to store the request and reponse data. |
Field ID to store request | The field ID of the form to store the request data. |
Field ID to store response | The field ID of the form to store the response data. |
Figure 9: Store To Form Properties
Name | Description | ||||||
---|---|---|---|---|---|---|---|
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 base path of the array. | ||||||
Field Mapping |
|
Figure 10: Store To Workflow Variable Properties
Name | Description | ||||||
---|---|---|---|---|---|---|---|
Workflow Variable Mapping |
|
Figure 11: Advanced Properties
Name | Description |
---|---|
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 "} |
Information
Figure 11: Invalid Query Response.
Non-Saving of Empty Responses
In cases where the query results in no matching data: