Selecting an Operation From a WSDL That Exists in the Workspace

Procedure

  1. Select the task or event that you will use to call the web service.
  2. On the General tab of the Properties view, click Select. The Operation Picker dialog is displayed:
    • The dialog lists every web service operation that is available in a WSDL file (in either a Service Descriptors or Generated Services folder) in any project in your workspace.
    • The status line in the dialog shows the project location and filename of the WSDL that contains the currently selected operation.
  3. Select the operation that you want to invoke and click OK.

Result

TIBCO Business Studio now automatically performs the following tasks:

  • It creates a system participant to identify the web service endpoint to be called. See Using a System Participant to Identify the Web Service Endpoint.
  • It populates the Operation and Endpoint resolution sections of the selected activity with the relevant service details from the WSDL. (See Web Service Implementation Properties.)
    Tip: As a shortcut, when you have the WSDL in your workspace you can create a task or event to call an operation using the following method:
    • Expand the WSDL in Project Explorer and select the operation you want to invoke.
    • Drag the operation to the point in your process flow where you want to invoke the web service operation. A context-sensitive menu is displayed, listing the tasks and events you can use to invoke the selected operation. For example:
    • Select the appropriate option from the menu. The corresponding task or event is created and configured. The Operation and Endpoint resolution sections are populated with the relevant service details from the WSDL.