Skip Ribbon Commands
Skip to main content
SharePoint

Invoke a Web Service Method

To invoke a Web service method, complete the following steps:
  1. Check out and open the process you want to edit.

  2. In the Toolbox pane, click Internet. A list of activities is displayed.

  3. Double-click or drag the Invoke Web Service activity into the process.

  4. Link the activity appropriately with other activities.

  5. Right-click the Invoke Web Service activity. A shortcut menu is displayed.

  6. Select View Properties. The Invoke Web Service window is displayed.

    Note:
    You can also open or view the activity properties by double-clicking the activity in the process.


  7. Click the Web Service tab. The corresponding screen is displayed.

  8. In the Web service location field, select the appropriate input field editor and set the field to a value that is a Web service’s URL.

    Note:
    The field expects you to enter the URL to the service’s WSDL, which can be found by entering ?WSDL at the end the service’s .asmx or .ashx file (Example: service.asmx?WSDL).


  9. In the Authentication section, select Run as BPM Server or Specify credentials option.

    Note:
    If you select Run as BPM Server, access will be granted or rejected based on the BPM Server credentials.
    If you select Specify credentials, complete the Username, Password, and Include domain fields using the appropriate input field editors. The Include domain check box is optional.


  10. In the Web method field, select the appropriate input field editor and set the field to a value that is a Web method you want to invoke.

  11. Click OK. You configured the activity to invoke a Web service method and can now map input and output parameters. See the corresponding activity topics for details.

Related Topics
Automatically Determine which Input Parameters to Populate with Data Item Values
Manually Determine which Input Parameters to Populate with Data Item Values, Expression Results, or Literal Values (Web)
Automatically Determine which Data Items to Populate with Output Parameters
Manually Determine which Data Items to Populate with Output Parameters
Set the Time Out Value for a Web Service

Source
BPM Designer Topics > Overview of Activities and Activity Topics > Internet Activities > Invoke Web Service
Last modified at 7/31/2020 11:44 AM