In the following steps, you will modify the workflow to use the Call Web Service action instead of the Create item action to create the material record in SAP. Navigate to the Material Maintenance Requests list and from the workflow Settings select Manage Workflows with Nintex Workflow.

Nintex-Material-WS-WF-Manage

Select the workflow for editing.

Nintex-Material-WS-WF-List

Disable (or Delete) the Create item activity.

Nintex-Material-WS-WF-Disable

Add a Call web service activity as shown below.

Nintex-Material-WS-WF-WSAction-1

Configure the Call web service activity:

URL = http://sp2013/vti bin/SAPMaterialWebService.svc/mex
Username / Password = (specify credentials of user with sufficient privileges to invoke the service)
Web method = CreateSAPMaterial
Web service input: The SOAP message will contain the references to the Item Properties of the Material Maintenance Request list.

Nintex-Material-WS-WF-WSAction-2

Save and then Publish the workflow. Repeat the other steps described in the first scenario to verify the functionality of the updated workflow.

Create a new Material and approve the Material request.

Nintex-Material-WS-Request-Completed

Verify the result in SAP.

Nintex-Material-WS-SAP