BPMN SOAP tasks allow you to invoke SOAP endpoints within your BPMN processes. This can be achieved by adding a SOAP Task and handling the SOAP invocation part in a process implementation. EI-Business Process has provided this functionality out of the box to avoid the hassle of doing implementations by process developers.
Adding a SOAP task to a process
- Create a BPMN process and a BPMN diagram. For instructions, see Creating a BPMN Process.
- Drag and drop a SOAP Task from the tools palette in the place where you need to invoke the endpoint.
- Go to the Properties panel of the SOAP Task and select the Main config tab.
Enter values for the following fields appropriately, as shown in the example below.
Field Name String Value Required/Optional Service URL URL of the target endpoint Required Input Payload Request payload Optional SOAP Headers SOAP header block, which is attached to the SOAP header when creating the SOAP request Optional SOAP version Soap version to be used when creating the SOAP request (i.e., SOAP11 or SOAP12) Required HTTP Connection Control options for the current connection. ('keep-alive' is the the default value.) Optional HTTP Transfer Encoding The form of encoding, which is used to safely transfer the entity to the user Optional Output Variable name Name of the variable to save the response Required Transport headers Header values in the format
Code Block language js "headerName0":"headerValue0","headerName1":"header Value2"
Optional
...