WSDL to workflow process generation wizard
The Development Studio WSDL to Workflow Process Generation Wizard helps you create a process that executes a web service call. The wizard has options to allow HTTP authentication and SOAP session IDs. For inputs and outputs that are complex values, like an XML document rather than a simple string, helper processes can be created to compile the input or deconstruct the output so that it is in a more usable format.
The WSDL wizard is a five step process whose steps are described in the table below. When you complete the wizard, the WSDL process is displayed in the project canvas.
- An input is created for each input defined in the wizard.
- An additional required input, adapter name, is created to capture the name of the Web Services Adapter to be used to execute the request.
- An Invoke SOAP Request activity is created. Values provided in the wizard are used to populate the input values for the process that will execute the SOAP request with a Web Services Adapter request.
- An output is created for each output defined in the wizard.
- Additional outputs, status and error, are created to capture the status of the request and, in the event of an error, the error message returned.
Steps in the WSDL to workflow process generation wizard
Steps and fields | Description | |
---|---|---|
1. Select WSDL | You browse the local file system or enter the URL for the WSDL file. | |
Include WSDL contents in request | Specifies that the contents of the WSDL are included in the process. Select this option if the WSDL is not available for the adapter request at the time of process execution. If you do not select to include the WSDL contents then the process contains only the file location. | |
Service endpoint | Specifies the WSDL endpoint. The service endpoint is automatically populated when the WSDL operation is selected. To change the value select the override checkbox. | |
2. Additional input parameters | You select options for the WSDL process. The created process includes and marks as required, the parameters specified in the HTTP authentication and SOAP Session ID. | |
Add HTTP authentication | Allows HTTP authentication for the WSDL process. | |
Username | Specifies the user name used for HTTP authentication. | |
Password | Specifies the password for HTTP authentication. | |
Add SOAP session ID | Specifies the ID used for the SOAP session. The session ID is used when multiple requests are made to the same SOAP service to maintain a single session, rather than opening a new session for each request. | |
3. Input Mapping | You input the required inputs for operation selected in Step 1. | |
Input Names | Indicates the input names for the WSDL operation. | |
4. Output Mapping | You accept or change the output values for operation selected in Step 1 Select WSDL. The name defined in the Output Name is used by the generated process. | |
5. Enter Process Information | You enter the properties for the process. |
Before you begin
To create and run a process with the WSDL to Process Generation Wizard, ensure that:
- The AutoPilot-Utilities module is imported and unbundled in the Development Studio workspace for the grid in which you create the process.
- The AutoPilot-Utilities module is active on the grid in which the process will run.
- The Web Services adapter is enabled on at least one peer on the grid in which the process will run.
To create a process from a WSDL
From the Process Designer view, highlight the module in which to create the process and select File, then New Process, then Process from WSDL.
Perform one of these actions to select the WSDL file:
Browse the local file system for the WSDL file and click Open.
Enter an HTTP or HTTPS URL for the location of the WSDL file.
To include the entire contents of the WSDL file in the process click the check box.
Click the Query button to query the WSDL file.
Expand the services and select the operation then click Next.
If you select HTTP basic authentication, in the Additional Input parameters window, review or change the values of the username parameter name and password parameter fields.
If you select add SOAP session ID in the Additional Input parameters window review or change the session ID that is displayed.
In the Input Mapping window enter values for the required inputs for the WSDL operation.
If the web service operation has outputs, in the Output Mapping window edit or accept the default name from the WSDL definition for each output.
In the Enter Process Information window, enter the properties for the process.
Click Finish.
To review the WSDL process
Double-click the Start activity to display the process inputs.
Double-click the process activity Invoke SOAP Request to display the mapping of the process inputs.
Double-click the End activity to display the process outputs.
Comments
Log in or register to comment.